|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.osconsulting.l10n.msgstore.FileBasedMessageStore
public class FileBasedMessageStore
Constructor Summary | |
---|---|
FileBasedMessageStore(java.util.HashMap<java.lang.String,java.lang.String> properties)
|
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage(java.lang.String key,
java.util.Locale locale)
Finds a localized error message with key JErrorCode.code and user specified locale in the message store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBasedMessageStore(java.util.HashMap<java.lang.String,java.lang.String> properties)
Method Detail |
---|
public java.lang.String getLocalizedMessage(java.lang.String key, java.util.Locale locale)
MessageStore
getLocalizedMessage
in interface MessageStore
key
- - the key of the localized messagelocale
- - Locale used to find the localized error message matching closest to this locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |