|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.ldap.util.JARReader
public class JARReader
JAR Reader read all the resources in the JAR / ZIP file and can return them as Raw bytes. These Raw bytes could interpreted accordingly. For ex. the Raw bytes could be treated as JAVA byte code, image, or a config file Basically it is upto the user of the API to treat raw bytes as whatever he desires to treat it as.
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
byte[] |
getResource(java.lang.String name)Retrieve the JAR resource identified by the given name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JARReader(byte[] jarContents)
throws java.io.IOException
java.io.IOException
public JARReader(java.util.zip.ZipInputStream zis)
throws java.io.IOException
ZipInputStream
java.io.IOException| Method Detail |
|---|
public byte[] getResource(java.lang.String name)
resource - nameraw - bytes of the resource. Null if the resource does not exist
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||