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.StringgetBaseName()Gets the base name of the jar.java.util.jar.ManifestgetManifest()SeeJarFile.getManifest()for the contract.voidloadMetadata(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.IOExceptionDescription copied from class:JarSeeJarFile.getManifest()for the contract.- Specified by:
getManifestin classJar- Throws:
java.io.IOException
-
loadMetadata
public void loadMetadata(ModuleMetadata result)
Description copied from class:JarLoads all META-INF/habitats entries and store them to the list.- Specified by:
loadMetadatain classJar
-
getBaseName
public java.lang.String getBaseName()
Description copied from class:JarGets the base name of the jar.For example, "bar" for "bar.jar".
- Specified by:
getBaseNamein classJar
-
-