Uses of Interface
org.apache.commons.resources.Resources

Packages that use Resources
org.apache.commons.resources Resources is a component that provides advanced management of message resources. 
org.apache.commons.resources.impl This package contains implementations for the various defined in the org.apache.commons.resources package. 
 

Uses of Resources in org.apache.commons.resources
 

Methods in org.apache.commons.resources that return Resources
 Resources Messages.getResources()
          Return the Resources instance that we are wrapping.
 Resources ResourcesFactory.getResources(String name)
          Create (if necessary) and return a Resources instance for the specified logical name, with a default configuration.
 Resources ResourcesFactory.getResources(String name, String config)
          Create (if necessary) and return a Resources instance for the specified logical name, with a configuration based on the specified configuration String.
 

Methods in org.apache.commons.resources with parameters of type Resources
static String Messages.getMessage(Resources resources, Locale locale, String key)
          Return a text message for the specified key, for the specified Locale.
static String Messages.getMessage(Resources resources, Locale locale, String key, Object arg0)
          Return a text message for the specified key, for the specified Locale, with parametric replacement.
static String Messages.getMessage(Resources resources, Locale locale, String key, Object[] args)
          Return a text message for the specified key, for the specified Locale, with parametric replacement.
static String Messages.getMessage(Resources resources, String key)
          Return a text message for the specified key, for the default Locale.
static String Messages.getMessage(Resources resources, String key, Object arg0)
          Return a text message for the specified key, for the default Locale, with parametric replacement.
static String Messages.getMessage(Resources resources, String key, Object[] args)
          Return a text message for the specified key, for the default Locale, with parametric replacement.
 

Constructors in org.apache.commons.resources with parameters of type Resources
Messages(Resources resources)
          Construct a Messages instance that wraps the specified Resources instance.
 

Uses of Resources in org.apache.commons.resources.impl
 

Classes in org.apache.commons.resources.impl that implement Resources
 class CollectionResourcesBase
          Abstract base classes for Resources implementations that store their name-value mappings for each supported Locale in a URL-accessible resource file with a common base URL.
 class JDBCResources
          Concrete implementation of Resources that retrieves message key value pairs using JDBC.
 class PropertyResources
          Concrete implementation of Resources that wraps a family (one per Locale) of properties files that share a base URL and have name suffixes reflecting the Locale for which the document's messages apply.
 class ResourceBundleResources
          Concrete implementation of Resources that wraps a set (one per Locale) of java.util.ResourceBundle instances that share a common base name.
 class ResourcesBase
          Convenience base class for Resources implementations.
 class WebappPropertyResources
          Concrete implementation of Resources that wraps a family (one per Locale of properties files that share a base context-relative path for servlet context resources, and have name suffixes reflecting the Locale for which the document's messages apply.
 class WebappXMLResources
          Concrete implementation of Resources that wraps a family (one per Locale of XML documents that share a base context-relative path for servlet context resources, and have name suffixes reflecting the Locale for which the document's messages apply.
 class XMLResources
          Concrete implementation of Resources that wraps a family (one per Locale of XML documents that share a base URL and have name suffixes reflecting the Locale for which the document's messages apply.
 

Methods in org.apache.commons.resources.impl that return Resources
protected  Resources XMLResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected  Resources WebappXMLResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected  Resources WebappPropertyResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected abstract  Resources ResourcesFactoryBase.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected  Resources ResourceBundleResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected  Resources PropertyResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
protected  Resources JDBCResourcesFactory.createResources(String name, String config)
          Create and return a new Resources instance with the specified logical name, after calling its init() method and delegating the relevant properties.
 Resources ResourcesFactoryBase.getResources(String name)
          Create (if necessary) and return a Resources instance for the specified logical name, with a default configuration.
 Resources ResourcesFactoryBase.getResources(String name, String config)
          Create (if necessary) and return a Resources instance for the specified logical name, with a configuration based on the specified configuration String.
 



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.