org.apache.velocity.runtime.log

Class VelocityFormatter

public class VelocityFormatter extends PatternFormatter

Constructor Summary
VelocityFormatter(String format)
Method Summary
protected StringgetTime(long time, String format)
Utility method to format time.

Constructor Detail

VelocityFormatter

public VelocityFormatter(String 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

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