Package org.apache.tomcat.util.scan
Class JarFileUrlNestedJar
java.lang.Object
org.apache.tomcat.util.scan.AbstractInputStreamJar
org.apache.tomcat.util.scan.JarFileUrlNestedJar
- All Implemented Interfaces:
AutoCloseable
,Jar
Implementation of
Jar
that is optimised for file
based JAR URLs that refer to a JAR file nested inside a WAR
(e.g URLs of the form jar:file: ... .war!/ ... .jar).-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close any resources associated with this JAR.protected NonClosingJarInputStream
Methods inherited from class org.apache.tomcat.util.scan.AbstractInputStreamJar
closeStream, entryExists, exists, getEntryInputStream, getEntryName, getInputStream, getJarFileURL, getLastModified, getManifest, getURL, nextEntry, reset
-
Constructor Details
-
JarFileUrlNestedJar
- Throws:
IOException
-
-
Method Details
-
close
public void close()Description copied from interface:Jar
Close any resources associated with this JAR. -
createJarInputStream
- Specified by:
createJarInputStream
in classAbstractInputStreamJar
- Throws:
IOException
-