Class Tokenizer.StandardTokenizerFactory
- java.lang.Object
-
- com.singularsys.jep.configurableparser.Tokenizer.StandardTokenizerFactory
-
- All Implemented Interfaces:
TokenizerFactory
,JepComponent
,java.io.Serializable
- Enclosing class:
- Tokenizer
public static class Tokenizer.StandardTokenizerFactory extends java.lang.Object implements TokenizerFactory
Factory creating new instances of the tokenizer.- Since:
- 3.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StandardTokenizerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JepComponent
getLightWeightInstance()
returns thisvoid
init(Jep jep)
Does nothingTokenizer
newInstance(ConfigurableParser cp, java.io.BufferedReader br)
-
-
-
Method Detail
-
newInstance
public Tokenizer newInstance(ConfigurableParser cp, java.io.BufferedReader br)
- Specified by:
newInstance
in interfaceTokenizerFactory
-
init
public void init(Jep jep)
Does nothing- Specified by:
init
in interfaceJepComponent
- Parameters:
jep
- the current Jep instance
-
getLightWeightInstance
public JepComponent getLightWeightInstance()
returns this- Specified by:
getLightWeightInstance
in interfaceJepComponent
- Returns:
- either an new instance, null or 'this'.
-
-