de.spieleck.app.jacson.select
Class SubstringSelect
java.lang.Object
de.spieleck.app.jacson.select.SubstringSelect
- All Implemented Interfaces:
- ConfigVerify.Acceptor, JacsonRegistrable, JacsonSelect
- public class SubstringSelect
- extends java.lang.Object
- implements JacsonSelect, ConfigVerify.Acceptor
Select Strings as a java.lang.String.substring()
would do.
- Author:
- fsn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FROM_NODE
public static final java.lang.String FROM_NODE
- See Also:
- Constant Field Values
TO_NODE
public static final java.lang.String TO_NODE
- See Also:
- Constant Field Values
from
protected int from
to
protected int to
curChunk
protected java.lang.String curChunk
first
protected boolean first
result
protected SimpleResult result
SubstringSelect
public SubstringSelect()
init
public void init(ConfigNode config,
JacsonRegistry registry)
throws JacsonConfigException
- Specified by:
init
in interface JacsonRegistrable
- Throws:
JacsonConfigException
accept
public boolean accept(ConfigNode cn)
- Specified by:
accept
in interface ConfigVerify.Acceptor
setChunk
public void setChunk(java.lang.String chunk)
- Specified by:
setChunk
in interface JacsonSelect
getNextSelection
public SelectionResult getNextSelection()
- Specified by:
getNextSelection
in interface JacsonSelect
Copyleft 2002 spieleck.de.