Class Jar.Archive
- java.lang.Object
-
- com.sun.enterprise.module.common_impl.Jar
-
- com.sun.enterprise.module.common_impl.Jar.Archive
-
-
Constructor Summary
Constructors Constructor Description Archive(java.io.File jar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseName()
Gets the base name of the jar.java.util.jar.Manifest
getManifest()
SeeJarFile.getManifest()
for the contract.void
loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list.
-
-
-
Method Detail
-
getManifest
public java.util.jar.Manifest getManifest() throws java.io.IOException
Description copied from class:Jar
SeeJarFile.getManifest()
for the contract.- Specified by:
getManifest
in classJar
- Throws:
java.io.IOException
-
loadMetadata
public void loadMetadata(ModuleMetadata result)
Description copied from class:Jar
Loads all META-INF/habitats entries and store them to the list.- Specified by:
loadMetadata
in classJar
-
getBaseName
public java.lang.String getBaseName()
Description copied from class:Jar
Gets the base name of the jar.For example, "bar" for "bar.jar".
- Specified by:
getBaseName
in classJar
-
-