public class DummyEncoder<E> extends EncoderBase<E>
| Modifier and Type | Field and Description |
|---|---|
static String |
DUMMY |
startedcontext| Constructor and Description |
|---|
DummyEncoder() |
DummyEncoder(String val) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode(E event) |
byte[] |
footerBytes() |
Charset |
getCharset() |
String |
getFileFooter() |
String |
getFileHeader() |
byte[] |
headerBytes() |
void |
setCharset(Charset charset) |
void |
setFileFooter(String fileFooter) |
void |
setFileHeader(String fileHeader) |
isStarted, start, stopaddError, 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, setContextpublic DummyEncoder()
public DummyEncoder(String val)
public Charset getCharset()
public void setCharset(Charset charset)
public byte[] headerBytes()
public byte[] footerBytes()
public String getFileHeader()
public void setFileHeader(String fileHeader)
public String getFileFooter()
public void setFileFooter(String fileFooter)
Copyright © 2005–2018 QOS.ch. All rights reserved.