| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static JarFile | getAlternativeJarFile(URL url)
For URLs to JARs that do not use JarURLConnection - allowed by the servlet spec - attempt to produce a JarFile object all the same. |
| pack-priv static JarFile | |
| private static InputStream | Returns: input stream or null if not possiblethe url to open url)Open input stream from url. |
| private static String | |
| public static URL[] | |
| public static URL[] | |
| public static URL[] | |
| private static boolean | |
| private static void | searchFromURL(Set<E>
the result urls result, String the current prefix prefix, String the suffix to match suffix, URL the current url to start search url)Search from URL. |
| private static void | searchJar(ClassLoader cl, Set<E> result, JarFile file, String prefix, String suffix, Classpath.
|
| EXTENSIONS_TO_EXCLUDE | back to summary |
|---|---|
| private static final String[] EXTENSIONS_TO_EXCLUDE | |
| PREFIXES_TO_EXCLUDE | back to summary |
|---|---|
| private static final String[] PREFIXES_TO_EXCLUDE | |
| Classpath | back to summary |
|---|---|
| public Classpath() | |
| getAlternativeJarFile | back to summary |
|---|---|
| private static JarFile getAlternativeJarFile(URL url) throws IOException For URLs to JARs that do not use JarURLConnection - allowed by the servlet spec - attempt to produce a JarFile object all the same. Known servlet engines that function like this include Weblogic and OC4J. This is not a full solution, since an unpacked WAR or EAR will not have JAR "files" as such. | |
| getAlternativeJarFile | back to summary |
|---|---|
| pack-priv static JarFile getAlternativeJarFile(String urlFile) throws IOException | |
| getInputStream | back to summary |
|---|---|
| private static InputStream getInputStream(URL url) Open input stream from url. Ignore any errors.
| |
| join | back to summary |
|---|---|
| private static String join(String[] tokens, boolean excludeLast) Join tokens, exlude last if param equals true. | |
| search | back to summary |
|---|---|
| public static URL[] search(String prefix, String suffix) throws IOException | |
| search | back to summary |
|---|---|
| public static URL[] search(ClassLoader cl, String prefix, String suffix) throws IOException | |
| search | back to summary |
|---|---|
| public static URL[] search(ClassLoader cl, String prefix, String suffix, Classpath. | |
| searchDir | back to summary |
|---|---|
| private static boolean searchDir(Set<E> result, File file, String suffix) throws IOException | |
| searchFromURL | back to summary |
|---|---|
| private static void searchFromURL(Set<E> result, String prefix, String suffix, URL url) throws IOException Search from URL. Fall back on prefix tokens if not able to read from original url param.
| |
| searchJar | back to summary |
|---|---|
| private static void searchJar(ClassLoader cl, Set<E> result, JarFile file, String prefix, String suffix, Classpath. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Classpath. | |
| public static final Classpath. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Classpath. | |
| public static Classpath. |
| AllMatches | back to summary |
|---|---|
| public static final Classpath. | |
| FirstMatchOnly | back to summary |
|---|---|
| public static final Classpath. | |
| SearchAdvice | back to summary |
|---|---|
| private SearchAdvice() | |
| valueOf | back to summary |
|---|---|
| public static Classpath. | |
| values | back to summary |
|---|---|
| public static Classpath. | |