public class FtpSlowInputStream extends InputStream
| Constructor and Description |
|---|
FtpSlowInputStream(InputStream nativeInputStream,
int bytesPerSec) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int markVal) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int size) |
void |
reset() |
long |
skip(long skipVal) |
protected void |
tryWaiting() |
public FtpSlowInputStream(InputStream nativeInputStream, int bytesPerSec)
protected void tryWaiting()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buffer)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buffer,
int offset,
int size)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long skipVal)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int markVal)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2017 eXo Platform SAS. All Rights Reserved.