Class Jar.Directory
java.lang.Object
com.sun.enterprise.module.common_impl.Jar
com.sun.enterprise.module.common_impl.Jar.Directory
- Enclosing class:
Jar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate File[]
Gets the base name of the jar.SeeJarFile.getManifest()
for the contract.void
loadMetadata
(ModuleMetadata result) Loads all META-INF/habitats entries and store them to the list.private byte[]
-
Field Details
-
dir
-
-
Constructor Details
-
Directory
-
-
Method Details
-
getManifest
Description copied from class:Jar
SeeJarFile.getManifest()
for the contract.- Specified by:
getManifest
in classJar
- Throws:
IOException
-
fixNull
-
loadMetadata
Description copied from class:Jar
Loads all META-INF/habitats entries and store them to the list.- Specified by:
loadMetadata
in classJar
-
getBaseName
Description copied from class:Jar
Gets the base name of the jar.For example, "bar" for "bar.jar".
- Specified by:
getBaseName
in classJar
-
readFully
- Throws:
IOException
-