public abstract class Converter<E>
extends java.lang.Object
Constructor and Description |
---|
Converter() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.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(java.lang.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 java.lang.String convert(E event)
event
- public void write(java.lang.StringBuilder buf, E event)
buf
- The input buffer where data is appendedevent
- The event from where data is extractedCopyright © 2010 - 2020 Adobe. All Rights Reserved