org.jfree.report.i18n
public class DefaultResourceBundleFactory extends Object implements ResourceBundleFactory
Locale.getDefault() as
Locale.
| Constructor Summary | |
|---|---|
| DefaultResourceBundleFactory()
Creates a new DefaultResourceBundleFactory using the system's default locale as
factory locale. | |
| Method Summary | |
|---|---|
| ResourceBundle | getResourceBundle(Locale locale, String key)
Creates a resource bundle named by the given key and using the factory's defined
locale.
|
Parameters: key the name of the resourcebundle, never null.
Returns: the created resource bundle
Throws: NullPointerException if key is
null java.util.MissingResourceException
if no resource bundle for the specified base name can be
found
See Also: ResourceBundle#getBundle(String,Locale)