org.oddjob.arooa.utils
Class QuoteTokenizerFactory
java.lang.Object
org.oddjob.arooa.utils.QuoteTokenizerFactory
- All Implemented Interfaces:
- ArooaTokenizerFactory
public class QuoteTokenizerFactory
- extends Object
- implements ArooaTokenizerFactory
Provides a tokenizer where the token is a regular expression but where
a quote character and escape character can be used.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteTokenizerFactory
public QuoteTokenizerFactory(String regexp,
char quote,
char escape)
newTokenizer
public ArooaTokenizer newTokenizer()
- Description copied from interface:
ArooaTokenizerFactory
- Provide a tokenizer.
- Specified by:
newTokenizer
in interface ArooaTokenizerFactory
- Returns:
getPattern
public String getPattern()