Package org.apache.tomcat.util.scan
Class UrlJar
java.lang.Object
org.apache.tomcat.util.scan.AbstractInputStreamJar
org.apache.tomcat.util.scan.UrlJar
- All Implemented Interfaces:
AutoCloseable,Jar
Implementation of
Jar that is optimised for
non-file based JAR URLs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close any resources associated with this JAR.protected NonClosingJarInputStreamMethods inherited from class org.apache.tomcat.util.scan.AbstractInputStreamJar
closeStream, entryExists, exists, getEntryInputStream, getEntryName, getInputStream, getJarFileURL, getLastModified, getManifest, getURL, nextEntry, reset
-
Constructor Details
-
UrlJar
-
-
Method Details
-
close
public void close()Description copied from interface:JarClose any resources associated with this JAR. -
createJarInputStream
- Specified by:
createJarInputStreamin classAbstractInputStreamJar- Throws:
IOException
-