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
Jar
JarFile.getManifest()
for the contract.getManifest
in class Jar
java.io.IOException
private java.io.File[] fixNull(java.io.File[] f)
public void loadMetadata(ModuleMetadata result)
Jar
loadMetadata
in class Jar
public java.lang.String getBaseName()
Jar
For example, "bar" for "bar.jar".
getBaseName
in class Jar
private byte[] readFully(java.io.File f) throws java.io.IOException
java.io.IOException