Methods Summary |
---|
public void | close()closes this archive and releases all resources
|
public java.util.Enumeration | entries()Returns an enumeration of the module file entries. All elements
in the enumeration are of type String. Each String represents a
file name relative to the root of the module.
|
public java.util.Enumeration | entries(java.lang.String prefix)Returns an enumeration of the module file entries with the
specified prefix. All elements in the enumeration are of
type String. Each String represents a file name relative
to the root of the module.
|
public long | getArchiveSize()Returns the size of the archive.
|
public java.io.InputStream | getEntry(java.lang.String name)Returns the InputStream for the given entry name
The file name must be relative to the root of the module.
|
public java.util.jar.Manifest | getManifest()Returns the manifest information for this archive
|
public com.sun.enterprise.deployment.deploy.shared.Archive | getSubArchive(java.lang.String name)Returns an instance of this archive abstraction for an embedded
archive within this archive.
|
public java.net.URI | getURI()(Optional)
Returns the path for this archive. If the archive is implemented
as a jar file for instance, it will return the full path to the
jar file as jar url like
jar://foo/bar/archive.jar
If the archive is implemented as a directory structure
with each entry a separate file, it will return the root directory
as a file url like
file://foo/bar/archive
Some implementation of the archive which are not based on the file
system will not be able to return a value.
|