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
public class UrlJar extends AbstractInputStreamJar
Implementation ofJarthat is optimised for non-file based JAR URLs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close any resources associated with this JAR.protected NonClosingJarInputStreamcreateJarInputStream()-
Methods inherited from class org.apache.tomcat.util.scan.AbstractInputStreamJar
closeStream, entryExists, exists, getEntryInputStream, getEntryName, getInputStream, getJarFileURL, getLastModified, getManifest, getURL, nextEntry, reset
-
-
-
-
Constructor Detail
-
UrlJar
public UrlJar(URL jarFileURL)
-
-
Method Detail
-
close
public void close()
Description copied from interface:JarClose any resources associated with this JAR.
-
createJarInputStream
protected NonClosingJarInputStream createJarInputStream() throws IOException
- Specified by:
createJarInputStreamin classAbstractInputStreamJar- Throws:
IOException
-
-