public interface URLHelper
HTTPHelper,
FTPHelper| 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.
|
java.net.URL getUrl()
long getContentLength()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream openInputStream()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream openInputStreamForRange(long start,
long end)
throws java.io.IOException
start - end - java.io.IOExceptionboolean exists()
throws java.io.IOException
java.io.IOException