|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eventgnosis.sources.StringToEventAccum
Responsible for accumulating input strings and separating out events discretely. If this is not done properly, the event stream will become scrambled.
| Field Summary | |
static java.lang.String |
EVENT_TERM
EVENT_TERM event terminator |
static int |
EVENT_TERM_LEN
|
| Constructor Summary | |
StringToEventAccum()
Creates a new instance of StringToEventAccum. |
|
| Method Summary | |
Event |
accumulate(java.lang.String str)
Returns an event when have complete one. |
java.lang.String |
getAccumStr()
Note: only exists for debugging. |
void |
reset()
Resets the accumulated string. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String EVENT_TERM
EVENT_TERM event terminator
public static final int EVENT_TERM_LEN
| Constructor Detail |
public StringToEventAccum()
| Method Detail |
public Event accumulate(java.lang.String str)
str - - string to be accumulated
public java.lang.String getAccumStr()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||