| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Date | |
| private SimpleDateFormat |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RotateStrategyByDate(final String
the message formatting pattern pattern)Creation of a new rotation strategy based on a date policy using a supplied pattern. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: TRUE if a rotation is required else FALSEnot used data, final File not used file)Implements org. |
| public void |
| m_current | back to summary |
|---|---|
| private String m_current | |
| m_date | back to summary |
|---|---|
| private Date m_date | |
| m_format | back to summary |
|---|---|
| private SimpleDateFormat m_format | |
| RotateStrategyByDate | back to summary |
|---|---|
| public RotateStrategyByDate() Creation of a new rotation strategy based on a date policy. | |
| RotateStrategyByDate | back to summary |
|---|---|
| public RotateStrategyByDate(final String pattern) Creation of a new rotation strategy based on a date policy using a supplied pattern.
| |
| isRotationNeeded | back to summary |
|---|---|
| public boolean isRotationNeeded(final String data, final File file) Implements org. Test is a rotation is required. Documentation pending ?? | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Reset the strategy. | |