| Constructor and Description |
|---|
RemoteURLHelper(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
long |
getContentLength() |
java.net.URL |
getUrl() |
java.io.InputStream |
openInputStream()
Open an InputStream to stream the contents of the resource
|
java.io.InputStream |
openInputStreamForRange(long start,
long end)
Open an InputStream to stream a slice (range) of the resource.
|
public java.net.URL getUrl()
public long getContentLength()
throws java.io.IOException
getContentLength in interface URLHelperjava.io.IOExceptionpublic java.io.InputStream openInputStream()
throws java.io.IOException
URLHelperopenInputStream in interface URLHelperjava.io.IOExceptionpublic java.io.InputStream openInputStreamForRange(long start,
long end)
throws java.io.IOException
URLHelperopenInputStreamForRange in interface URLHelperjava.io.IOException