|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.common.i18n.SimpleResourceBundleFactory
public class SimpleResourceBundleFactory
An implementation that delegates bundle loading to ResourceBundle.getBundle(String,Locale,ClassLoader).
| Constructor Summary | |
|---|---|
SimpleResourceBundleFactory(java.lang.String baseName,
java.lang.ClassLoader classLoader)
|
|
| Method Summary | |
|---|---|
java.util.ResourceBundle |
getBundle(java.util.Locale locale)
Returns a resource bundle for the specified locale, it may be an expensive operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleResourceBundleFactory(java.lang.String baseName,
java.lang.ClassLoader classLoader)
throws java.lang.IllegalArgumentException
baseName - the base name for loadingclassLoader - the classloader for loading
java.lang.IllegalArgumentException - if any argument is null| Method Detail |
|---|
public java.util.ResourceBundle getBundle(java.util.Locale locale)
throws java.lang.IllegalArgumentException
ResourceBundleFactory
getBundle in interface ResourceBundleFactorylocale - the locale for the resource bundle
java.lang.IllegalArgumentException - if the locale is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||