org.apache.myfaces.config.util
Class GAEUtils
java.lang.Object
org.apache.myfaces.config.util.GAEUtils
public class GAEUtils
- extends Object
Utility methods to use in Google Application Engine (GAE)
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEB_LIB_PREFIX
public static final String WEB_LIB_PREFIX
- See Also:
- Constant Field Values
GAEUtils
public GAEUtils()
searchInWebLib
public static Collection<URL> searchInWebLib(ExternalContext context,
ClassLoader classloader,
String filter,
String prefix,
String suffix)
throws IOException
- Look in all jars located inside /WEB-INF/lib/ folder for files that has
some specified prefix and suffix. It is a simplification that can be done
in GAE, because no JSF libraries are outside /WEB-INF/lib
- Parameters:
context
- classloader
- prefix
- suffix
-
- Returns:
-
- Throws:
IOException
wildcardMatch
public static boolean wildcardMatch(String filename,
String[] wildcardMatchers,
String prefix)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.