wt.util.resource
Class ResourceBundleFactory

java.lang.Object
  extended bywt.util.resource.ResourceBundleFactory
Direct Known Subclasses:
ListBundleFactory, SerializedBundleFactory

public abstract class ResourceBundleFactory
extends Object



Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
ResourceBundleFactory()
           
 
Method Summary
static void clearCache()
          

Supported API: false
static boolean clearCache(String basename)
          

Supported API: false
abstract  ResourceBundle getBundle(String basename)
          

Supported API: true
abstract  ResourceBundle getBundle(String basename, Locale locale)
          

Supported API: true
static ResourceBundle getBundle(String resource_type, String basename)
          

Supported API: true
static ResourceBundle getBundle(String resource_type, String basename, Locale locale)
          

Supported API: true
static ResourceBundleFactory getFactory(String resource_type)
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ResourceBundleFactory

public ResourceBundleFactory()
Method Detail

clearCache

public static void clearCache()


Supported API: false


clearCache

public static boolean clearCache(String basename)


Supported API: false

Parameters:
basename -
Returns:
boolean

getFactory

public static ResourceBundleFactory getFactory(String resource_type)


Supported API: true

Parameters:
resource_type -
Returns:
ResourceBundleFactory

getBundle

public static ResourceBundle getBundle(String resource_type,
                                       String basename)


Supported API: true

Parameters:
resource_type -
basename -
Returns:
ResourceBundle

getBundle

public static ResourceBundle getBundle(String resource_type,
                                       String basename,
                                       Locale locale)


Supported API: true

Parameters:
resource_type -
basename -
locale -
Returns:
ResourceBundle

getBundle

public abstract ResourceBundle getBundle(String basename)


Supported API: true

Parameters:
basename -
Returns:
ResourceBundle

getBundle

public abstract ResourceBundle getBundle(String basename,
                                         Locale locale)


Supported API: true

Parameters:
basename -
locale -
Returns:
ResourceBundle