Top Description Constructors Methods
org.apache.tomcat.util.scan

public Class UrlJar

extends AbstractInputStreamJar
Class Inheritance
Imports
java.io.IOException, java.net.JarURLConnection, .URL, .URLConnection

Implementation of org.apache.tomcat.Jar that is optimised for non-file based JAR URLs.

Constructor Summary

AccessConstructor and Description
public
UrlJar(URL jarFileURL)

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements org.apache.tomcat.Jar.close.

Close any resources associated with this JAR.

protected NonClosingJarInputStream
Inherited from org.apache.tomcat.util.scan.AbstractInputStreamJar:
closeStreamexistsgetEntryInputStreamgetEntryNamegetInputStreamgetJarFileURLgetLastModifiedgetManifestgetURLnextEntryreset

Constructor Detail

UrlJarback to summary
public UrlJar(URL jarFileURL)

Method Detail

closeback to summary
public void close()

Implements org.apache.tomcat.Jar.close.

Doc from org.apache.tomcat.Jar.close.

Close any resources associated with this JAR.

Annotations
@Override
createJarInputStreamback to summary
protected NonClosingJarInputStream createJarInputStream() throws IOException

Implements abstract org.apache.tomcat.util.scan.AbstractInputStreamJar.createJarInputStream.

Annotations
@Override