java.lang.Object
com.sun.facelets.util.Classpath
- public final class Classpath
- extends java.lang.Object
- Version:
- $Id: Classpath.java,v 1.5 2006/01/14 06:46:14 jhook Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classpath
public Classpath()
search
public static java.net.URL[] search(java.lang.String prefix,
java.lang.String suffix)
throws java.io.IOException
search
public static java.net.URL[] search(java.lang.ClassLoader cl,
java.lang.String prefix,
java.lang.String suffix)
throws java.io.IOException
searchDir
private static void searchDir(java.util.Set result,
java.io.File file,
java.lang.String suffix)
throws java.io.IOException
getAlternativeJarFile
private static java.util.jar.JarFile getAlternativeJarFile(java.net.URL url)
throws java.io.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.
searchJar
private static void searchJar(java.lang.ClassLoader cl,
java.util.Set result,
java.util.jar.JarFile file,
java.lang.String prefix,
java.lang.String suffix)
throws java.io.IOException