|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.log.output.io.rotate.RotateStrategyByDate
Rotation stragety based on SimpleDateFormat.
| Constructor Summary | |
RotateStrategyByDate()
Creation of a new rotation strategy based on a date policy. |
|
RotateStrategyByDate(java.lang.String pattern)
Creation of a new rotation strategy based on a date policy using a supplied pattern. |
|
| Method Summary | |
boolean |
isRotationNeeded(java.lang.String data,
java.io.File file)
Test is a rotation is required. |
void |
reset()
Reset the strategy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RotateStrategyByDate()
public RotateStrategyByDate(java.lang.String pattern)
pattern - the message formatting pattern| Method Detail |
public void reset()
reset in interface RotateStrategy
public boolean isRotationNeeded(java.lang.String data,
java.io.File file)
isRotationNeeded in interface RotateStrategydata - not usedfile - not used
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||