org.apache.commons.vfs.provider.ftp
Class FtpFileObject.FtpInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.apache.commons.vfs.util.MonitorInputStream
org.apache.commons.vfs.provider.ftp.FtpFileObject.FtpInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- FtpFileObject
class FtpFileObject.FtpInputStream
- extends MonitorInputStream
An InputStream that monitors for end-of-file.
Fields inherited from class java.io.BufferedInputStream |
buf, marklimit, markpos, pos |
Fields inherited from class java.io.FilterInputStream |
in |
Method Summary |
(package private) void |
abort()
|
protected void |
onClose()
Called after the stream has been closed. |
Methods inherited from class java.io.BufferedInputStream |
available, mark, markSupported, reset, skip |
Methods inherited from class java.io.FilterInputStream |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
private final FtpClient client
FtpFileObject.FtpInputStream
public FtpFileObject.FtpInputStream(FtpClient client,
java.io.InputStream in)
abort
void abort()
throws java.io.IOException
- Throws:
java.io.IOException
onClose
protected void onClose()
throws java.io.IOException
- Called after the stream has been closed.
- Overrides:
onClose
in class MonitorInputStream
- Throws:
java.io.IOException