|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.util.AbstractMessages
org.apache.tapestry5.internal.services.MapMessages
public class MapMessages
Implementation of Messages
based on a simple Map (of string keys and values).
Constructor Summary | |
---|---|
MapMessages(java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.String> properties)
A new instance retaining (not copying) the provided map. |
Method Summary | |
---|---|
protected java.lang.String |
valueForKey(java.lang.String key)
Invoked to provide the value for a particular key. |
Methods inherited from class org.apache.tapestry5.ioc.util.AbstractMessages |
---|
contains, format, get, getFormatter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapMessages(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.String> properties)
Method Detail |
---|
protected java.lang.String valueForKey(java.lang.String key)
AbstractMessages
valueForKey
in class AbstractMessages
key
- the key to obtain a value for (case insensitive)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |