|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter
ch.qos.logback.core.rolling.helper.DateTokenConverter
public class DateTokenConverter
Constructor Summary | |
---|---|
DateTokenConverter()
|
Method Summary | |
---|---|
java.lang.String |
convert(java.util.Date date)
|
java.lang.String |
convert(java.lang.Object o)
The convert method is responsible for extracting data from the event and storing it for later use by the write method. |
java.lang.String |
getDatePattern()
Return the date pattern. |
void |
start()
Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. |
Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter |
---|
getFirstOption, getOptionList, isStarted, setOptionList, stop |
Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter |
---|
getFormattingInfo, setFormattingInfo, write |
Methods inherited from class ch.qos.logback.core.pattern.Converter |
---|
getNext, setNext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTokenConverter()
Method Detail |
---|
public void start()
DynamicConverter
start
in interface LifeCycle
start
in class DynamicConverter
public java.lang.String convert(java.util.Date date)
public java.lang.String convert(java.lang.Object o)
Converter
convert
in class Converter
public java.lang.String getDatePattern()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |