public class URLResource extends Object implements IResource
JarFile instances and thus locks the file. This resource provider caches the
content of returned resources and closes the underlying stream handle in
open().| Constructor and Description |
|---|
URLResource(URL url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URL |
getUrl() |
int |
hashCode() |
InputStream |
open()
Open an input stream to the resource.
|
String |
toString() |
public URLResource(URL url)
public InputStream open() throws IOException
IResourceopen in interface IResourceIOExceptionpublic URL getUrl()