org.apache.velocity.runtime.log
Class VelocityFormatter

java.lang.Object
  extended by PatternFormatter
      extended by org.apache.velocity.runtime.log.VelocityFormatter

public class VelocityFormatter
extends PatternFormatter


Constructor Summary
VelocityFormatter(String format)
           
 
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
 

Constructor Detail

VelocityFormatter

public VelocityFormatter(String format)
Parameters:
format -
Method Detail

getTime

protected String getTime(long time,
                         String format)
Utility method to format time.

Parameters:
time - the time
format - ancilliary format parameter - allowed to be null
Returns:
the formatted string