Class RemoteFile.RemoteFileInputStream
java.lang.Object
java.io.InputStream
net.schmizz.sshj.sftp.RemoteFile.RemoteFileInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
RemoteFile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private longprivate longprivate long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
available, close, nullInputStream, read, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
b
private final byte[] b -
fileOffset
private long fileOffset -
markPos
private long markPos -
readLimit
private long readLimit
-
-
Constructor Details
-
RemoteFileInputStream
public RemoteFileInputStream() -
RemoteFileInputStream
public RemoteFileInputStream(long fileOffset)
-
-
Method Details
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
mark
public void mark(int readLimit) - Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-