org.apache.velocity.runtime.log
Class VelocityFormatter
java.lang.Object
PatternFormatter
org.apache.velocity.runtime.log.VelocityFormatter
public class VelocityFormatter
- extends PatternFormatter
Method Summary |
protected String |
getTime(long time,
String format)
Utility method to format time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityFormatter
public VelocityFormatter(String format)
- Parameters:
format
-
getTime
protected String getTime(long time,
String format)
- Utility method to format time.
- Parameters:
time
- the timeformat
- ancilliary format parameter - allowed to be null
- Returns:
- the formatted string