| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
dir |
| Constructor and Description |
|---|
Directory(java.io.File dir) |
| Modifier and Type | Method and Description |
|---|---|
private java.io.File[] |
fixNull(java.io.File[] f) |
java.lang.String |
getBaseName()
Gets the base name of the jar.
|
java.util.jar.Manifest |
getManifest()
See
JarFile.getManifest() for the contract. |
void |
loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list.
|
private byte[] |
readFully(java.io.File f) |
public java.util.jar.Manifest getManifest()
throws java.io.IOException
JarJarFile.getManifest() for the contract.getManifest in class Jarjava.io.IOExceptionprivate java.io.File[] fixNull(java.io.File[] f)
public void loadMetadata(ModuleMetadata result)
JarloadMetadata in class Jarpublic java.lang.String getBaseName()
JarFor example, "bar" for "bar.jar".
getBaseName in class Jarprivate byte[] readFully(java.io.File f)
throws java.io.IOException
java.io.IOException