Package htsjdk.tribble.util
Class RemoteURLHelper
- java.lang.Object
-
- htsjdk.tribble.util.RemoteURLHelper
-
-
Constructor Summary
Constructors Constructor Description RemoteURLHelper(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanexists()longgetContentLength()URLgetUrl()InputStreamopenInputStream()InputStreamopenInputStreamForRange(long start, long end)Deprecated.
-
-
-
Constructor Detail
-
RemoteURLHelper
public RemoteURLHelper(URL url)
-
-
Method Detail
-
getContentLength
public long getContentLength() throws IOException- Specified by:
getContentLengthin interfaceURLHelper- Throws:
IOException
-
openInputStream
public InputStream openInputStream() throws IOException
- Specified by:
openInputStreamin interfaceURLHelper- Throws:
IOException
-
openInputStreamForRange
@Deprecated public InputStream openInputStreamForRange(long start, long end) throws IOException
Deprecated.Description copied from interface:URLHelperMay throw an OperationUnsupportedException- Specified by:
openInputStreamForRangein interfaceURLHelper- Returns:
- Throws:
IOException
-
exists
public boolean exists() throws IOException- Specified by:
existsin interfaceURLHelper- Throws:
IOException
-
-