Package net.schmizz.sshj.sftp
Class RemoteFile.RemoteFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- net.schmizz.sshj.sftp.RemoteFile.RemoteFileInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- RemoteFile
public class RemoteFile.RemoteFileInputStream extends java.io.InputStream
-
-
Constructor Summary
Constructors Constructor Description RemoteFileInputStream()RemoteFileInputStream(long fileOffset)
-
-
-
Method Detail
-
markSupported
public boolean markSupported()
- Overrides:
markSupportedin classjava.io.InputStream
-
mark
public void mark(int readLimit)
- Overrides:
markin classjava.io.InputStream
-
reset
public void reset() throws java.io.IOException- Overrides:
resetin classjava.io.InputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- Overrides:
skipin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] into, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
-