org.apache.velocity.runtime.log

Class 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.

Constructor Details

VelocityFormatter

public VelocityFormatter(String format)

Method Details

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

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.