|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.jacson.PluginBase de.spieleck.app.jacson.filter.FilterBase de.spieleck.app.jacson.filter.ConstFilter de.spieleck.app.jacson.filter.UniqFilter
Filter out chunks which equal a direct preceding one. (Or with inverse flag, let only through chunks which equal the preceeding).
These are either omitted or the only one delivered (with inverse). This somewhat resembles the uniq UNIX-Tool.
Field Summary | |
protected java.lang.String |
preChunk
The remembered last Chunk. |
Fields inherited from class de.spieleck.app.jacson.filter.ConstFilter |
inverse |
Fields inherited from class de.spieleck.app.jacson.filter.FilterBase |
drain |
Fields inherited from interface de.spieleck.app.jacson.filter.FilterNames |
COUNT_NODE, INVERSE_NODE |
Constructor Summary | |
UniqFilter()
|
Method Summary | |
void |
putChunk(java.lang.String chunk)
Feed a single chunk into this filter |
Methods inherited from class de.spieleck.app.jacson.filter.ConstFilter |
accept, init, summary |
Methods inherited from class de.spieleck.app.jacson.filter.FilterBase |
setDrain |
Methods inherited from class de.spieleck.app.jacson.PluginBase |
getRegReport, getRegState, registerReport, registerState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.spieleck.app.jacson.JacsonStately |
registerState |
Methods inherited from interface de.spieleck.app.jacson.JacsonReporting |
registerReport |
Field Detail |
protected java.lang.String preChunk
Constructor Detail |
public UniqFilter()
Method Detail |
public void putChunk(java.lang.String chunk) throws JacsonException
JacsonChunkDrain
putChunk
in interface JacsonChunkDrain
putChunk
in class ConstFilter
JacsonException
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |