org.apache.velocity.runtime.log
Class VelocityFormatter

java.lang.Object
  |
  +--PatternFormatter
        |
        +--org.apache.velocity.runtime.log.VelocityFormatter

public class VelocityFormatter
extends PatternFormatter

See Also:
Serialized Form

Constructor Summary
VelocityFormatter(java.lang.String format)
           
 
Method Summary
protected  java.lang.String getTime(long time, java.lang.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(java.lang.String format)
Method Detail

getTime

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

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


Copyright © 2001 Apache Software Foundation. All Rights Reserved.