de.spieleck.app.jacson.filter
Class URLDecodeFilter
java.lang.Object
de.spieleck.app.jacson.PluginBase
de.spieleck.app.jacson.filter.FilterBase
de.spieleck.app.jacson.filter.URLDecodeFilter
- All Implemented Interfaces:
- ConfigVerify.Acceptor, JacsonChunkDrain, JacsonFilter, JacsonRegistrable, JacsonReporting, JacsonStately
- public class URLDecodeFilter
- extends FilterBase
- implements ConfigVerify.Acceptor
Filter to URLDecode a chunk.
XXX This is a good idea in demo quality, we only decode
2 characters in a very inefficient way. We do not (yet)
want to rely on JDK URLDecode.
- Author:
- fsn
Field Summary |
protected java.lang.StringBuffer |
sb
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sb
protected java.lang.StringBuffer sb
URLDecodeFilter
public URLDecodeFilter()
init
public void init(ConfigNode config,
JacsonRegistry registry)
throws JacsonConfigException
- Specified by:
init
in interface JacsonRegistrable
- Throws:
JacsonConfigException
accept
public boolean accept(ConfigNode node)
- Specified by:
accept
in interface ConfigVerify.Acceptor
putChunk
public void putChunk(java.lang.String chunk)
throws JacsonException
- Description copied from interface:
JacsonChunkDrain
- Feed a single chunk into this filter
- Specified by:
putChunk
in interface JacsonChunkDrain
- Throws:
JacsonException
Copyleft 2002 spieleck.de.