|
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.TailFilter
Block all chunks of a stream, all but the last ones. This is an example for a Filter, acting upon a chunk = null. The usage of this filter renders JacsonState.chunkNo() useless in all later stages of processing.
Field Summary | |
protected int |
pos
Current position in the cyclical buffer. |
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 | |
TailFilter()
|
Method Summary | |
boolean |
accept(ConfigNode node)
|
void |
init(ConfigNode config,
JacsonRegistry registry)
|
void |
putChunk(java.lang.String chunk)
Feed a single chunk into this filter |
Methods inherited from class de.spieleck.app.jacson.filter.FilterBase |
setDrain |
Methods inherited from class de.spieleck.app.jacson.PluginBase |
getRegReport, getRegState, registerReport, registerState, summary |
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, summary |
Field Detail |
protected int pos
Constructor Detail |
public TailFilter()
Method Detail |
public void init(ConfigNode config, JacsonRegistry registry) throws JacsonConfigException
init
in interface JacsonRegistrable
JacsonConfigException
public boolean accept(ConfigNode node)
accept
in interface ConfigVerify.Acceptor
public void putChunk(java.lang.String chunk) throws JacsonException
JacsonChunkDrain
putChunk
in interface JacsonChunkDrain
JacsonException
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |