| Modifier and Type | Field and Description |
|---|---|
| private JarEntry | |
| private final URL | |
| private NonClosingJarInputStream | |
| private Map | |
| private Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected abstract NonClosingJarInputStream | |
| public boolean | exists(String
Entry to look for name)Implements org. Determine if the given resource in present in the JAR. |
| public InputStream | getEntryInputStream()
Implements org. Obtains the input stream for the current entry. |
| public String | |
| public InputStream | getInputStream(String
Entry to obtain an name)InputStream forImplements org. Obtain an |
| public URL | |
| public long | getLastModified(String
Entry to obtain the modification time for name)Implements org. Obtain the last modified time for the given resource in the JAR. |
| public Manifest | |
| public String | getURL(String
The entry to generate the URL for entry)Implements org. Obtain, in String form, the URL for an entry in this JAR. |
| private void | |
| public void | nextEntry()
Implements org. Moves the internal pointer to the next entry in the JAR. |
| private void | |
| public void | reset()
Implements org. Resets the internal pointer used to track JAR entries to the beginning of the JAR. |
| entry | back to summary |
|---|---|
| private JarEntry entry | |
| jarFileURL | back to summary |
|---|---|
| private final URL jarFileURL | |
| jarInputStream | back to summary |
|---|---|
| private NonClosingJarInputStream jarInputStream | |
| mrMap | back to summary |
|---|---|
| private Map<String, String> mrMap | |
| multiRelease | back to summary |
|---|---|
| private Boolean multiRelease | |
| AbstractInputStreamJar | back to summary |
|---|---|
| public AbstractInputStreamJar(URL jarFileUrl) | |
| closeStream | back to summary |
|---|---|
| protected void closeStream() | |
| createJarInputStream | back to summary |
|---|---|
| protected abstract NonClosingJarInputStream createJarInputStream() throws IOException | |
| exists | back to summary |
|---|---|
| public boolean exists(String name) throws IOException Implements org. Doc from org. Determine if the given resource in present in the JAR.
| |
| getEntryInputStream | back to summary |
|---|---|
| public InputStream getEntryInputStream() throws IOException Implements org. Doc from org. Obtains the input stream for the current entry.
| |
| getEntryName | back to summary |
|---|---|
| public String getEntryName() Implements org. Doc from org. Obtains the name of the current entry. | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(String name) throws IOException Implements org. Doc from org. Obtain an
| |
| getJarFileURL | back to summary |
|---|---|
| public URL getJarFileURL() Implements org.
| |
| getLastModified | back to summary |
|---|---|
| public long getLastModified(String name) throws IOException Implements org. Doc from org. Obtain the last modified time for the given resource in the JAR.
| |
| getManifest | back to summary |
|---|---|
| public Manifest getManifest() throws IOException Implements org. Doc from org. Obtain the manifest for the JAR file.
| |
| getURL | back to summary |
|---|---|
| public String getURL(String entry) Implements org. Doc from org. Obtain, in String form, the URL for an entry in this JAR. Note that for
JARs nested in WAR files, the Tomcat specific war:file:... form will not
be used, rather the jar:jar:file:... form (that the JRE does not
understand will be used). Note that this means that any code using these
URLs will need to understand the jar:jar:file:... form and use the
| |
| gotoEntry | back to summary |
|---|---|
| private void gotoEntry(String name) throws IOException | |
| nextEntry | back to summary |
|---|---|
| public void nextEntry() Implements org. Doc from org. Moves the internal pointer to the next entry in the JAR.
| |
| populateMrMap | back to summary |
|---|---|
| private void populateMrMap() throws IOException | |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Implements org. Doc from org. Resets the internal pointer used to track JAR entries to the beginning of the JAR.
| |