Package tv.hd3g.transfertfiles.ftp
Class StoppableInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
tv.hd3g.transfertfiles.ftp.StoppableInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintread()intread(byte[] b) intread(byte[] b, int off, int len) byte[]intreadNBytes(byte[] b, int off, int len) byte[]readNBytes(int len) voidsetStop()longskip(long n) Methods inherited from class java.io.FilterInputStream
close, mark, markSupported, resetMethods inherited from class java.io.InputStream
nullInputStream, skipNBytes, transferTo
-
Constructor Details
-
StoppableInputStream
-
-
Method Details
-
setStop
public void setStop() -
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
readAllBytes
- Overrides:
readAllBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
readNBytes
- Overrides:
readNBytesin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
available
- Overrides:
availablein classFilterInputStream- Throws:
IOException
-
isStopped
public boolean isStopped()
-