com.opensymphony.module.propertyset.config
Class PropertySetConfig

java.lang.Object
  extended bycom.opensymphony.module.propertyset.config.PropertySetConfig

public class PropertySetConfig
extends java.lang.Object

DOCUMENT ME!

Version:
$Revision: 1.3 $
Author:
$author$

Method Summary
 java.util.Map getArgs(java.lang.String name)
           
 java.lang.String getClassName(java.lang.String name)
           
static PropertySetConfig getConfig()
           
static java.net.URL getResource(java.lang.String resourceName, java.lang.Class callingClass)
          Load a given resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 load
callingClass - The Class object of the calling object

See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony