Modifier | Constructor and Description |
---|---|
protected |
Jar() |
Modifier and Type | Method and Description |
---|---|
static Jar |
create(File file) |
abstract String |
getBaseName()
Gets the base name of the jar.
|
abstract Manifest |
getManifest()
See
JarFile.getManifest() for the contract. |
abstract void |
loadMetadata(ModuleMetadata result)
Loads all META-INF/habitats entries and store them to the list.
|
public abstract Manifest getManifest() throws IOException
JarFile.getManifest()
for the contract.IOException
public abstract void loadMetadata(ModuleMetadata result)
public abstract String getBaseName()
For example, "bar" for "bar.jar".
public static Jar create(File file) throws IOException
IOException
Copyright © 2009–2023 Oracle Corporation. All rights reserved.