Package org.apache.tomcat.util.scan
package org.apache.tomcat.util.scan
This package contains the common classes used to perform configuration scanning for Catalina and Jasper.
-
ClassDescriptionBase implementation of Jar for implementations that use a JarInputStream to access the JAR file.String constants for the scan package.Provide a mechanism to obtain objects that implement
Jar
.Implementation ofJar
that is optimised for file based JAR URLs that refer directly to a JAR file (e.g URLs of the form jar:file: ... .jar!Implementation ofJar
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!When using aJarInputStream
with an XML parser, the stream will be closed by the parser.The defaultJarScanner
implementation scans the WEB-INF/lib directory followed by the provided classloader and then works up the classloader hierarchy.Implementation ofJar
that is optimised for non-file based JAR URLs.