public class DispatchingCsvMarshaller extends Object implements com.fluxtion.api.lifecycle.EventHandler, com.fluxtion.api.lifecycle.BatchHandler, com.fluxtion.api.lifecycle.Lifecycle
| Modifier and Type | Field and Description |
|---|---|
CsvMultiTypeMarshaller |
dispatcher |
| Constructor and Description |
|---|
DispatchingCsvMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
DispatchingCsvMarshaller |
addMarshaller(Class wrapper,
com.fluxtion.api.lifecycle.EventHandler handler) |
DispatchingCsvMarshaller |
addMarshaller(Class wrapper,
String handlerClass) |
DispatchingCsvMarshaller |
addSink(com.fluxtion.api.lifecycle.EventHandler handler) |
void |
afterEvent() |
void |
batchEnd() |
void |
batchPause() |
void |
handleEvent(CharEvent typedEvent) |
void |
init() |
void |
onEvent(com.fluxtion.api.event.Event event) |
void |
tearDown() |
public final CsvMultiTypeMarshaller dispatcher
public DispatchingCsvMarshaller addMarshaller(Class wrapper, com.fluxtion.api.lifecycle.EventHandler handler)
public DispatchingCsvMarshaller addMarshaller(Class wrapper, String handlerClass) throws Exception
Exceptionpublic DispatchingCsvMarshaller addSink(com.fluxtion.api.lifecycle.EventHandler handler)
public void onEvent(com.fluxtion.api.event.Event event)
onEvent in interface com.fluxtion.api.lifecycle.EventHandlerpublic void handleEvent(CharEvent typedEvent)
public void afterEvent()
afterEvent in interface com.fluxtion.api.lifecycle.EventHandlerpublic void init()
init in interface com.fluxtion.api.lifecycle.Lifecyclepublic void tearDown()
tearDown in interface com.fluxtion.api.lifecycle.Lifecyclepublic void batchPause()
batchPause in interface com.fluxtion.api.lifecycle.BatchHandlerpublic void batchEnd()
batchEnd in interface com.fluxtion.api.lifecycle.BatchHandlerCopyright © 2019. All rights reserved.