Package htsjdk.tribble.util
Class FTPHelper
- java.lang.Object
-
- htsjdk.tribble.util.FTPHelper
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
exists()
long
getContentLength()
URL
getUrl()
InputStream
openInputStream()
InputStream
openInputStreamForRange(long start, long end)
Deprecated.
-
-
-
Constructor Detail
-
FTPHelper
public FTPHelper(URL url)
-
-
Method Detail
-
getContentLength
public long getContentLength() throws IOException
- Specified by:
getContentLength
in interfaceURLHelper
- Throws:
IOException
-
openInputStream
public InputStream openInputStream() throws IOException
- Specified by:
openInputStream
in interfaceURLHelper
- Throws:
IOException
-
openInputStreamForRange
@Deprecated public InputStream openInputStreamForRange(long start, long end) throws IOException
Deprecated.Description copied from interface:URLHelper
May throw an OperationUnsupportedException- Specified by:
openInputStreamForRange
in interfaceURLHelper
- Returns:
- Throws:
IOException
-
exists
public boolean exists() throws IOException
- Specified by:
exists
in interfaceURLHelper
- Throws:
IOException
-
-