Package htsjdk.samtools.util.ftp
Class FTPStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
htsjdk.samtools.util.ftp.FTPStream
- All Implemented Interfaces:
Closeable,AutoCloseable
A "non-seekable" ftp stream. This one doesn't support random access.
It is assumed that the ftp client has been connected, put in passive mode,
set to binary, and otherwise prepped for reading before creating this stream.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
FTPStream
- Throws:
IOException
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-