|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.emboss.jemboss.JembossJarUtil
Unpacks a Jar file into a Hashtable
Field Summary | |
private java.util.Hashtable |
jarStore
Hashtable containing the unpacked contents of the jar file |
Constructor Summary | |
JembossJarUtil(java.lang.String jarFile)
Given the path to a jar file unpack to a hashtable |
Method Summary | |
java.lang.Object |
getElement(java.lang.String el)
Return an element of the hashtable |
java.util.Hashtable |
getHash()
Return the hashtable |
boolean |
writeByteFile(java.lang.String el,
java.lang.String f)
Write contents of an element in the hashtable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Hashtable jarStore
Constructor Detail |
public JembossJarUtil(java.lang.String jarFile) throws java.lang.Exception
jarFile
- path to jar file to unpack
java.lang.Exception
- if it is not possible to read jar fileMethod Detail |
public java.util.Hashtable getHash()
public java.lang.Object getElement(java.lang.String el)
el
- key of an element in the hashtable
public boolean writeByteFile(java.lang.String el, java.lang.String f)
el
- key of an element in the hashtablef
- path of file to write to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |