Package com.topologi.diffx.load.text
Class TokenizerFactory
java.lang.Object
com.topologi.diffx.load.text.TokenizerFactory
Factory for tokenizers.
This class is designed to returned tokenizers that corresponds to the given configuration.
- Version:
- 10 May 2010
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextTokenizerget(DiffXConfig config) Returns the text tokenizer.
-
Constructor Details
-
TokenizerFactory
private TokenizerFactory()Creates a factory for tokenizers.- Throws:
NullPointerException- If the configuration isnull.
-
-
Method Details
-
get
Returns the text tokenizer.- Parameters:
config- The configuration to use.- Returns:
- the corresponding tokenizer.
- Throws:
NullPointerException- If the configuration isnull.
-