|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.AbstractMessages
org.apache.hivemind.impl.ModuleMessages
An implementation of Messages
that obtains messages from a
MessageFinder
, in a locale provided by the
ThreadLocale
service.
Constructor Summary | |
ModuleMessages(MessageFinder messageFinder,
ThreadLocale threadLocale)
|
Method Summary | |
protected java.lang.String |
findMessage(java.lang.String key)
Concrete implementations must implement this method. |
protected java.util.Locale |
getLocale()
Concrete implementations must provide a non-null Locale. |
Methods inherited from class org.apache.hivemind.impl.AbstractMessages |
format, format, format, format, getMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModuleMessages(MessageFinder messageFinder, ThreadLocale threadLocale)
Method Detail |
protected java.util.Locale getLocale()
AbstractMessages
getLocale
in class AbstractMessages
protected java.lang.String findMessage(java.lang.String key)
AbstractMessages
findMessage
in class AbstractMessages
key
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |