public abstract class EncoderBase<E> extends ContextAwareBase implements Encoder<E>
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
outputStream |
protected boolean |
started |
context| Constructor and Description |
|---|
EncoderBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(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() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextprotected boolean started
protected OutputStream outputStream
public void init(OutputStream os) throws IOException
Encoderinit in interface Encoder<E>IOExceptionCopyright © 2005-2013 QOS.ch. All Rights Reserved.