Archive which is used when container
returns some form of URL from which an InputStream in jar format can be
obtained. e.g. jar:file:/tmp/a_ear/b.war!/WEB-INF/lib/pu.jar
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. |
| public Iterator | getEntries()
Implements org. java. of the file entries.
|
| public InputStream | getEntry(String
the file name relative to the root of the module. entryPath)Implements abstract org. Implements org. |
| public URL | getEntryAsURL(String
the file name relative to the root of the module. entryPath)Implements org. |
| private void |
| entries | back to summary |
|---|---|
| private List<String> entries | |
| logger | back to summary |
|---|---|
private Logger logger
| |
| JarInputStreamURLArchive | back to summary |
|---|---|
public JarInputStreamURLArchive(URL url, String descriptorLocation) throws IOException
| |
| JarInputStreamURLArchive | back to summary |
|---|---|
| public JarInputStreamURLArchive(URL url, String descriptorLocation, Logger logger) throws IOException | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close this archive and associated InputStream.
| |
| getEntries | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Returns an
| |
| getEntry | back to summary |
|---|---|
| public InputStream getEntry(String entryPath) throws IOException Implements abstract org. Implements org. Doc from org. Returns the InputStream for the given entry name. Returns null if no such entry exists. The entry name must be relative to the root of the module.
| |
| getEntryAsURL | back to summary |
|---|---|
| public URL getEntryAsURL(String entryPath) throws IOException Implements org. Doc from org. Returns the URL for the given entry name. Returns null if no such entry exists. The entry name must be relative to the root of the module. | |
| init | back to summary |
|---|---|
| private void init() throws IOException | |