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.
-
ClassesClassDescriptionBase 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 ofJarthat is optimised for file based JAR URLs that refer directly to a JAR file (e.g URLs of the form jar:file: ... .jar!Implementation ofJarthat 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 aJarInputStreamwith an XML parser, the stream will be closed by the parser.The defaultJarScannerimplementation scans the WEB-INF/lib directory followed by the provided classloader and then works up the classloader hierarchy.Implementation ofJarthat is optimised for non-file based JAR URLs.