public class FtpSlowOutputStream extends OutputStream
| Constructor and Description |
|---|
FtpSlowOutputStream(OutputStream nativeOutputStream,
int bytesPerSec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected void |
tryWaiting() |
void |
write(byte[] dataBytes) |
void |
write(byte[] dataBytes,
int offset,
int len) |
void |
write(int dataByte) |
public FtpSlowOutputStream(OutputStream nativeOutputStream, int bytesPerSec)
protected void tryWaiting()
public void write(int dataByte)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] dataBytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] dataBytes,
int offset,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2020 eXo Platform SAS. All Rights Reserved.