com.topologi.diffx.load.text
Class TokenizerFactory

java.lang.Object
  extended by 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

Method Summary
static TextTokenizer get(DiffXConfig config)
          Returns the text tokenizer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.