|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.i18n.DefaultResourceBundleFactory
A default implementation of the ResourceBundleFactory, that creates resource bundles using the specified locale.
If not defined otherwise, this implementation usesLocale.getDefault() as
Locale.
| Field Summary |
| Fields inherited from interface org.jfree.report.i18n.ResourceBundleFactory |
DEFAULT_RESOURCE_BUNDLE_CONFIG_KEY |
| Constructor Summary | |
DefaultResourceBundleFactory()
Creates a new DefaultResourceBundleFactory using the system's default locale as factory locale. |
|
| Method Summary | |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale,
java.lang.String key)
Creates a resource bundle named by the given key and using the factory's defined locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultResourceBundleFactory()
| Method Detail |
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale,
java.lang.String key)
getResourceBundle in interface ResourceBundleFactorykey - the name of the resourcebundle, never null.
java.lang.NullPointerException - if key is
null
java.util.MissingResourceException - if no resource bundle for the specified base name can be
foundResourceBundle.getBundle(String,Locale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||