public abstract class Converter<E> extends Object
| Constructor and Description |
|---|
Converter() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
convert(E event)
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
|
Converter<E> |
getNext() |
void |
setNext(Converter<E> next) |
void |
write(StringBuilder buf,
E event)
In its simplest incarnation, a convert simply appends the data extracted from
the event to the buffer passed as parameter.
|
public abstract String convert(E event)
event - public void write(StringBuilder buf, E event)
buf - The input buffer where data is appendedevent - The event from where data is extractedCopyright © 2005–2017 QOS.ch. All rights reserved.