|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.encoder.EncoderBase<E>
public abstract class EncoderBase<E>
| Field Summary | |
|---|---|
protected java.io.OutputStream |
outputStream
|
protected boolean |
started
|
| Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
context |
| Constructor Summary | |
|---|---|
EncoderBase()
|
|
| Method Summary | |
|---|---|
void |
init(java.io.OutputStream os)
This method is called when the owning appender starts or whenever output needs to be directed to a new OutputStream, for instance as a result of a rollover. |
boolean |
isStarted()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.qos.logback.core.encoder.Encoder |
|---|
close, doEncode |
| Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
|---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
| Field Detail |
|---|
protected boolean started
protected java.io.OutputStream outputStream
| Constructor Detail |
|---|
public EncoderBase()
| Method Detail |
|---|
public void init(java.io.OutputStream os)
throws java.io.IOException
Encoder
init in interface Encoder<E>java.io.IOExceptionpublic boolean isStarted()
isStarted in interface LifeCyclepublic void start()
start in interface LifeCyclepublic void stop()
stop in interface LifeCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||