public class

RemoteFile.RemoteFileInputStream

extends InputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ net.schmizz.sshj.sftp.RemoteFile.RemoteFileInputStream

Summary

[Expand]
Inherited Constants
From class java.io.InputStream
Fields
private final byte[] b
private long fileOffset
private long markPos
private long readLimit
Public Constructors
RemoteFile.RemoteFileInputStream()
RemoteFile.RemoteFileInputStream(int fileOffset)
Public Methods
void mark(int readLimit)
boolean markSupported()
int read()
int read(byte[] into, int off, int len)
void reset()
long skip(long n)
[Expand]
Inherited Methods
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Fields

private final byte[] b

private long fileOffset

private long markPos

private long readLimit

Public Constructors

public RemoteFile.RemoteFileInputStream ()

public RemoteFile.RemoteFileInputStream (int fileOffset)

Parameters
fileOffset

Public Methods

public void mark (int readLimit)

Parameters
readLimit

public boolean markSupported ()

public int read ()

Throws
IOException

public int read (byte[] into, int off, int len)

Parameters
into
off
len
Throws
IOException

public void reset ()

Throws
IOException

public long skip (long n)

Parameters
n
Throws
IOException