| java.lang.Object org.apache.log.output.io.rotate.RotateStrategyByDate
Constructor Summary | |
public | RotateStrategyByDate() Creation of a new rotation strategy based on a date policy. | public | RotateStrategyByDate(String pattern) Creation of a new rotation strategy based on a date policy
using a supplied pattern. |
RotateStrategyByDate | public RotateStrategyByDate()(Code) | | Creation of a new rotation strategy based on a date policy.
|
RotateStrategyByDate | public RotateStrategyByDate(String pattern)(Code) | | Creation of a new rotation strategy based on a date policy
using a supplied pattern.
Parameters: pattern - the message formatting pattern |
isRotationNeeded | public boolean isRotationNeeded(String data, File file)(Code) | | Test is a rotation is required. Documentation pending ??
Parameters: data - not used Parameters: file - not used TRUE if a rotation is required else FALSE |
reset | public void reset()(Code) | | Reset the strategy.
|
|
|