Class FtpFileObject.FtpInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.apache.commons.vfs2.util.MonitorInputStream
org.apache.commons.vfs2.provider.ftp.FtpFileObject.FtpInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- FtpFileObject
An InputStream that monitors for end-of-file.
-
Field Summary
FieldsFields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorsConstructorDescriptionFtpInputStream
(FtpClient client, InputStream in) FtpInputStream
(FtpClient client, InputStream in, int bufferSize) -
Method Summary
Methods inherited from class org.apache.commons.vfs2.util.MonitorInputStream
available, close, closeSuper, getCount, read, read
Methods inherited from class java.io.BufferedInputStream
mark, markSupported, reset, skip
Methods inherited from class java.io.FilterInputStream
read
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
client
-
-
Constructor Details
-
FtpInputStream
-
FtpInputStream
-
-
Method Details
-
abort
- Throws:
IOException
-
isTransferAbortedOkReplyCode
- Throws:
IOException
-
onClose
Called after the stream has been closed.- Overrides:
onClose
in classMonitorInputStream
- Throws:
IOException
- if an error occurs.
-