Class Jar
java.lang.Object
com.sun.enterprise.module.common_impl.Jar
- Direct Known Subclasses:
Jar.Archive
,Jar.Directory
Abstraction of
JarFile
so that we can handle
both a jar file and a directory image transparently.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Jar
abstract String
Gets the base name of the jar.abstract Manifest
SeeJarFile.getManifest()
for the contract.abstract void
loadMetadata
(ModuleMetadata result) Loads all META-INF/habitats entries and store them to the list.
-
Constructor Details
-
Jar
protected Jar()
-
-
Method Details
-
getManifest
SeeJarFile.getManifest()
for the contract.- Throws:
IOException
-
loadMetadata
Loads all META-INF/habitats entries and store them to the list. -
getBaseName
Gets the base name of the jar.For example, "bar" for "bar.jar".
-
create
- Throws:
IOException
-