Package htsjdk.tribble.util
Class FTPHelper
java.lang.Object
htsjdk.tribble.util.FTPHelper
- All Implemented Interfaces:
URLHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
long
getUrl()
Open an InputStream to stream the contents of the resourceopenInputStreamForRange
(long start, long end) Open an InputStream to stream a slice (range) of the resource.
-
Constructor Details
-
FTPHelper
-
-
Method Details
-
getUrl
-
getContentLength
- Specified by:
getContentLength
in interfaceURLHelper
- Returns:
- content length of the resource, or -1 if not available
- Throws:
IOException
-
openInputStream
Description copied from interface:URLHelper
Open an InputStream to stream the contents of the resource- Specified by:
openInputStream
in interfaceURLHelper
- Returns:
- Throws:
IOException
-
openInputStreamForRange
Description copied from interface:URLHelper
Open an InputStream to stream a slice (range) of the resource. May throw an OperationUnsupportedException- Specified by:
openInputStreamForRange
in interfaceURLHelper
- Returns:
- Throws:
IOException
-
exists
- Specified by:
exists
in interfaceURLHelper
- Throws:
IOException
-