public class JARReader
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
JARReader(byte[] jarContents)
Creates a JAR reader from the given bute array The byte array must be the JAR content
|
JARReader(java.util.zip.ZipInputStream zis)
Creates a JAR reader from the specified
ZipInputStream |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getResource(java.lang.String name)
Retrieve the JAR resource identified by the given name
|
public JARReader(byte[] jarContents)
throws java.io.IOException
java.io.IOException
public JARReader(java.util.zip.ZipInputStream zis)
throws java.io.IOException
ZipInputStreamjava.io.IOException