|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.enterprise.module.common_impl.Jar
public abstract class Jar
Abstraction of JarFile
so that we can handle
both a jar file and a directory image transparently.
Constructor Summary | |
---|---|
protected |
Jar()
|
Method Summary | |
---|---|
static Jar |
create(File file)
|
abstract String |
getBaseName()
Gets the base name of the jar. |
abstract Manifest |
getManifest()
See JarFile.getManifest() for the contract. |
abstract void |
loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Jar()
Method Detail |
---|
public abstract Manifest getManifest() throws IOException
JarFile.getManifest()
for the contract.
IOException
public abstract void loadMetadata(ModuleMetadata result)
public abstract String getBaseName()
For example, "bar" for "bar.jar".
public static Jar create(File file) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |