|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.topologi.diffx.load.text.TokeniserFactory
Factory for tokenisers.
This class is designed to returned tokenisers that corresponds to the given configuration.
| Constructor Summary | |
TokeniserFactory(DiffXConfig config)
Creates a factory for tokenisers. |
|
| Method Summary | |
DiffXConfig |
getConfig()
Returns the configuration used by this factory. |
TextTokeniser |
makeTokeniser(CharSequence text)
Returns the text tokeniser for the specified text according to the configuration of this tokeniser. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TokeniserFactory(DiffXConfig config)
throws NullPointerException
config - The configuration to use.
NullPointerException - If the configuration is null.| Method Detail |
public TextTokeniser makeTokeniser(CharSequence text)
text - The text to tokenise.
public DiffXConfig getConfig()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||