|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.acelogger.interpolator.JavaTextFormatInterpolator
public final class JavaTextFormatInterpolator
An implementation of TextInterpolator for the MessageFormat
class.
Method Summary | |
---|---|
static TextInterpolator |
getInstance()
Gets a instance of this class. |
String |
interpolate(String pattern,
Object... params)
Interpolates parameters within a string, this should include formatting, padding and some basic conditionals. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TextInterpolator getInstance()
public String interpolate(String pattern, Object... params)
interpolate
in interface TextInterpolator
pattern
- The string which should be interpolated.params
- The parameters used to interpolate the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |