|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.silvermoon.moonglow.format.VelocityFormatter
The basic Formatter implementation. This uses a Velocity template specified by the 'type' argument to format() to produce the formatted text string
Constructor Summary | |
VelocityFormatter()
|
Method Summary | |
java.lang.String |
format(Response response,
java.lang.String type)
Perform the format |
static void |
initVelocity()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VelocityFormatter()
Method Detail |
public static void initVelocity() throws java.lang.Exception
java.lang.Exception
public java.lang.String format(Response response, java.lang.String type) throws FormatException
Formatter
format
in interface Formatter
FormatException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |