public class ZipResourceLoader.ZipResource
extends java.lang.Object
Constructor and Description |
---|
ZipResourceLoader.ZipResource(java.lang.String p_Name)
Constructs a ZipResource object representing the file whose name is passed in.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Opens an input stream from the file represented by this object.
|
java.net.URL |
getURL()
Gets the URL of the file represented by this object.
|
byte[] |
getURLContent()
Returns the raw data contained in the file represented by this object.
|
public ZipResourceLoader.ZipResource(java.lang.String p_Name)
p_Name
- Name of the file.public java.net.URL getURL() throws java.net.MalformedURLException
java.net.MalformedURLException
- If the URL if malformed.public java.io.InputStream getInputStream()
public byte[] getURLContent()