|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.commons.message.MessageResourceBundleFactory
public final class MessageResourceBundleFactory
A factory class for MessageResourceBundle.
| Method Summary | |
|---|---|
protected static MessageResourceBundle |
createBundle(String path)
Creates a message bundle. |
static MessageResourceBundle |
getBundle(Locale locale,
String messageBundleName)
Returns the message bundle. |
protected static MessageResourceBundle |
getBundle(String messageBundleName)
Returns the message bundle. |
protected static File |
getFile(String path)
Returns a file for the path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MessageResourceBundle getBundle(Locale locale,
String messageBundleName)
throws NullPointerException
locale - the localemessageBundleName - the message bundle name such as
aaa.foo(WEB-INF/classes/aaa/foo.properties)
NullPointerException - if the locale parameter is null or if the messageBundleName
parameter is nullprotected static MessageResourceBundle getBundle(String messageBundleName)
messageBundleName - the message bundle name
protected static File getFile(String path)
path - the path
protected static MessageResourceBundle createBundle(String path)
path - the path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||