|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.formproc.message.AbstractMessageProvider | +--org.formproc.message.ResourceBundleMessageProvider
Implementation of the MessageProvider interface which uses the Java ResourceBundle class to locate messages in resource bundles.
Constructor Summary | |
ResourceBundleMessageProvider()
|
Method Summary | |
java.lang.String |
getMessage(java.util.Locale locale)
Get the message for the given locale. |
void |
loadConfiguration(com.anthonyeden.lib.config.Configuration configuration)
Load the message provider's configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceBundleMessageProvider()
Method Detail |
public java.lang.String getMessage(java.util.Locale locale) throws java.lang.Exception
getMessage
in interface MessageProvider
getMessage
in class AbstractMessageProvider
locale
- The Locale
java.lang.Exception
public void loadConfiguration(com.anthonyeden.lib.config.Configuration configuration) throws com.anthonyeden.lib.config.ConfigurationException
loadConfiguration
in interface MessageProvider
loadConfiguration
in class AbstractMessageProvider
configuration
- The Configuration object
ConfiguratioinException
com.anthonyeden.lib.config.ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |