Class Jar
- java.lang.Object
-
- com.sun.enterprise.module.common_impl.Jar
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jar()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Jar
create(File file)
abstract String
getBaseName()
Gets the base name of the jar.abstract Manifest
getManifest()
SeeJarFile.getManifest()
for the contract.abstract void
loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list.
-
-
-
Method Detail
-
getManifest
public abstract Manifest getManifest() throws IOException
SeeJarFile.getManifest()
for the contract.- Throws:
IOException
-
loadMetadata
public abstract void loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list.
-
getBaseName
public abstract String getBaseName()
Gets the base name of the jar.For example, "bar" for "bar.jar".
-
create
public static Jar create(File file) throws IOException
- Throws:
IOException
-
-