com.opensymphony.module.propertyset.config
Class PropertySetConfig
java.lang.Object
com.opensymphony.module.propertyset.config.PropertySetConfig
- public class PropertySetConfig
- extends java.lang.Object
DOCUMENT ME!
- Version:
- $Revision: 1.3 $
- Author:
- $author$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConfig
public static PropertySetConfig getConfig()
getArgs
public java.util.Map getArgs(java.lang.String name)
getClassName
public java.lang.String getClassName(java.lang.String name)
getResource
public static java.net.URL getResource(java.lang.String resourceName,
java.lang.Class callingClass)
- Load a given resource.
This method will try to load the resource using the following methods (in order):
- From Thread.currentThread().getContextClassLoader()
- From ClassLoaderUtil.class.getClassLoader()
- callingClass.getClassLoader()
- Parameters:
resourceName - The name of the resource to loadcallingClass - The Class object of the calling object
|