|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.component.sequencing.TokenizingSplitter
public class TokenizingSplitter
Sequencer implementation which tokenises an incoming event's payloads into individual multiple outgoing events, containing a single payload, based on the tokenising criteria. The regular expression for pattern matching tokenising and an optional character set encoding are passed to the constructor of this class.
| Constructor Summary | |
|---|---|
TokenizingSplitter(String delimiterRegex)
Constructor |
|
TokenizingSplitter(String delimiterRegex,
String encoding)
Constructor |
|
| Method Summary | |
|---|---|
List<Event> |
onEvent(Event event,
String moduleName,
String componentName)
Implementation of the onEvent TokenisingSplitter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenizingSplitter(String delimiterRegex)
delimiterRegex - A regular expression to delimit the incoming event on.payloadFactory - factory for Payloads
public TokenizingSplitter(String delimiterRegex,
String encoding)
delimiterRegex - A regular expression to delimit the incoming event on.encoding - Event's content encoding.| Method Detail |
|---|
public List<Event> onEvent(Event event,
String moduleName,
String componentName)
throws SequencerException
onEvent in interface Sequencerevent - The incoming event to be split.
SequencerException - Wrapper for CloneNotSupportedException thrown when cloning Event/
Payload
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||