|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.aragost.text.MapMessageFormat
Field Summary | |
static java.lang.String |
ldel
Left delimiter |
static java.lang.String |
rdel
Right delimiter |
Constructor Summary | |
MapMessageFormat(java.lang.String pattern)
Create a new MapMessageFormat with the specified pattern. |
Method Summary | |
java.lang.String |
format(java.util.Map args)
Format the pattern of the receiver with the given arguments |
static java.lang.String |
format(java.lang.String pattern,
java.util.Map arguments)
Format the specified pattern with the given arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ldel
public static final java.lang.String rdel
Constructor Detail |
public MapMessageFormat(java.lang.String pattern)
MapMessageFormat.format(pattern, arguments)
.
pattern
- String to be parsed.Method Detail |
public static java.lang.String format(java.lang.String pattern, java.util.Map arguments)
pattern
- Pattern to replace the arguments in.arguments
- Map with key-value pairs to replace.
public java.lang.String format(java.util.Map args)
|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |