Package net.schmizz.sshj.sftp
Class SFTPPacket<T extends SFTPPacket<T>>
- java.lang.Object
-
- net.schmizz.sshj.common.Buffer<T>
-
- net.schmizz.sshj.sftp.SFTPPacket<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.schmizz.sshj.common.Buffer
Buffer.BufferException, Buffer.PlainBuffer
-
-
Field Summary
-
Fields inherited from class net.schmizz.sshj.common.Buffer
data, DEFAULT_SIZE, MAX_SIZE, MAX_UINT64_VALUE, rpos, wpos
-
-
Constructor Summary
Constructors Constructor Description SFTPPacket()SFTPPacket(Buffer<T> buf)SFTPPacket(PacketType pt)
-
Method Summary
Modifier and Type Method Description TputFileAttributes(FileAttributes fa)TputType(PacketType type)FileAttributesreadFileAttributes()PacketTypereadType()-
Methods inherited from class net.schmizz.sshj.common.Buffer
array, available, clear, compact, ensureAvailable, ensureCapacity, getCompactData, getNextPowerOf2, printHex, putBoolean, putBuffer, putByte, putBytes, putBytes, putMPInt, putPublicKey, putRawBytes, putRawBytes, putSensitiveString, putSignature, putString, putString, putString, putString, putUInt32, putUInt32FromInt, putUInt64, putUInt64, readBoolean, readByte, readBytes, readMPInt, readPublicKey, readRawBytes, readRawBytes, readString, readString, readStringAsBytes, readUInt32, readUInt32AsInt, readUInt64, readUInt64AsBigInteger, rpos, rpos, toString, wpos, wpos
-
-
-
-
Constructor Detail
-
SFTPPacket
public SFTPPacket()
-
SFTPPacket
public SFTPPacket(PacketType pt)
-
-
Method Detail
-
readFileAttributes
public FileAttributes readFileAttributes() throws SFTPException
- Throws:
SFTPException
-
readType
public PacketType readType() throws SFTPException
- Throws:
SFTPException
-
putFileAttributes
public T putFileAttributes(FileAttributes fa)
-
putType
public T putType(PacketType type)
-
-