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:
- java.lang.AutoCloseable,- Jar
 
 public class UrlJar extends AbstractInputStreamJar Implementation ofJarthat is optimised for non-file based JAR URLs.
- 
- 
Constructor SummaryConstructors Constructor Description UrlJar(java.net.URL jarFileURL)
 - 
Method SummaryAll 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.AbstractInputStreamJarcloseStream, entryExists, exists, getEntryInputStream, getEntryName, getInputStream, getJarFileURL, getLastModified, getManifest, getURL, nextEntry, reset
 
- 
 
- 
- 
- 
Method Detail- 
closepublic void close() Description copied from interface:JarClose any resources associated with this JAR.
 - 
createJarInputStreamprotected NonClosingJarInputStream createJarInputStream() throws java.io.IOException - Specified by:
- createJarInputStreamin class- AbstractInputStreamJar
- Throws:
- java.io.IOException
 
 
- 
 
-