org.outerj.xreporter.resource
Interface ResourceManager

All Known Implementing Classes:
ResourceManagerImpl

public interface ResourceManager

Provides access to Resources. The goals is to be able to log missing resources, instead of throwing MissingResourceExceptions.


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 Resources getBundle(java.lang.String baseName, java.util.Locale locale)
           
 ResourceHandle getHandle(java.util.Locale locale)
           
 Resources getUserBundle(java.lang.String name, java.util.Locale locale)
          User bundles are bundles that are maintained by the user of the application, this in contrast with built-in bundels.
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

getHandle

public ResourceHandle getHandle(java.util.Locale locale)

getBundle

public Resources getBundle(java.lang.String baseName,
                           java.util.Locale locale)

getUserBundle

public Resources getUserBundle(java.lang.String name,
                               java.util.Locale locale)
User bundles are bundles that are maintained by the user of the application, this in contrast with built-in bundels. They are retrieved by a logical name.