|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.appender.rolling.PatternProcessor
public class PatternProcessor
Parse the rollover pattern.
| Constructor Summary | |
|---|---|
PatternProcessor(String pattern)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
formatFileName(StringBuilder buf,
Object... objects)
Format file name. |
protected void |
formatFileName(StringBuilder buf,
Object obj)
Format file name. |
long |
getNextTime(long current,
int increment,
boolean modulus)
Returns the next potential rollover time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternProcessor(String pattern)
pattern - The file pattern.| Method Detail |
|---|
public long getNextTime(long current,
int increment,
boolean modulus)
current - The current time.increment - The increment to the next time.
protected final void formatFileName(StringBuilder buf,
Object obj)
buf - string buffer to which formatted file name is appended, may not be null.obj - object to be evaluated in formatting, may not be null.
protected final void formatFileName(StringBuilder buf,
Object... objects)
buf - string buffer to which formatted file name is appended, may not be null.objects - objects to be evaluated in formatting, may not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||