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, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
FTPStream
- Throws:
IOException
-
-
Method Details
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-