org.apache.log.output.io.rotate
public class RotateStrategyByDate extends Object implements RotateStrategy
Version: $Revision: 1.10 $ $Date: 2003/02/09 23:33:24 $
Constructor Summary | |
---|---|
RotateStrategyByDate()
Creation of a new rotation strategy based on a date policy. | |
RotateStrategyByDate(String pattern)
Creation of a new rotation strategy based on a date policy
using a supplied pattern. |
Method Summary | |
---|---|
boolean | isRotationNeeded(String data, File file)
Test is a rotation is required. |
void | reset()
Reset the strategy. |
Parameters: pattern the message formatting pattern
Parameters: data not used file not used
Returns: TRUE if a rotation is required else FALSE