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:
markSupported
in classjava.io.InputStream
-
mark
public void mark(int readLimit)
- Overrides:
mark
in classjava.io.InputStream
-
reset
public void reset() throws java.io.IOException
- Overrides:
reset
in classjava.io.InputStream
- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException
- Overrides:
skip
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] into, int off, int len) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-