com.topologi.diffx.load.text
Class TokenizerFactory
java.lang.Object
com.topologi.diffx.load.text.TokenizerFactory
public final class TokenizerFactory
- extends Object
Factory for tokenizers.
This class is designed to returned tokenizers that corresponds to the given configuration.
- Version:
- 10 May 2010
- Author:
- Christophe Lauret
get
public static TextTokenizer get(DiffXConfig config)
- Returns the text tokenizer.
- Parameters:
config
- The configuration to use.
- Returns:
- the corresponding tokenizer.
- Throws:
NullPointerException
- If the configuration is null
.