|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.l2fprod.util.ZipResourceLoader.ZipResource
public class ZipResourceLoader.ZipResource
A class that represents a file contained in a zip archive.
Constructor Summary | |
---|---|
ZipResourceLoader.ZipResource(java.lang.String p_Name)
Constructs a ZipResource object representing the file whose name is passed in. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipResourceLoader.ZipResource(java.lang.String p_Name)
p_Name
- Name of the file.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |