biz.chitec.quarterback.util
Class SelfLoadingClassBasedResourceBundle
java.lang.Object
java.util.ResourceBundle
biz.chitec.quarterback.util.HierarchicalResourceBundle
biz.chitec.quarterback.util.SelfLoadingClassBasedResourceBundle
- public class SelfLoadingClassBasedResourceBundle
- extends HierarchicalResourceBundle
Resource bundle implementation which knows itself about its source and can reload its contents for a changed locale.
- Version:
- $Id: c53691216ee454a692197c7455f316a1f96b954c $
- Author:
- cantamen/Dirk Hillbrecht 2007
Nested classes inherited from class java.util.ResourceBundle |
|
Fields inherited from class java.util.ResourceBundle |
parent |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
leafclassname
private java.lang.String leafclassname
locale
private java.util.Locale locale
fallbacklocale
private java.util.Locale fallbacklocale
SelfLoadingClassBasedResourceBundle
public SelfLoadingClassBasedResourceBundle(java.lang.String leafclassnamex,
java.util.Locale localex,
java.util.Locale fallbacklocalex)
SelfLoadingClassBasedResourceBundle
public SelfLoadingClassBasedResourceBundle(java.lang.String aclassnamex)
setLocale
public void setLocale(java.util.Locale newlocale)
setFallbackLocale
public void setFallbackLocale(java.util.Locale newfallbacklocale)
loadContents
private void loadContents()