public abstract class CharacterDelimitedTokenizer extends Tokenizer
Constructor and Description |
---|
CharacterDelimitedTokenizer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
delimitersTipText()
Returns the tip text for this property
|
java.lang.String |
getDelimiters()
Get the value of delimiters (not backquoted).
|
java.lang.String[] |
getOptions()
Gets the current option settings for the OptionHandler.
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration of all the available options..
|
void |
setDelimiters(java.lang.String value)
Set the value of delimiters.
|
void |
setOptions(java.lang.String[] options)
Sets the OptionHandler's options using the given list.
|
globalInfo, hasMoreElements, nextElement, runTokenizer, tokenize, tokenize
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeCopy
getRevision
public java.util.Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class Tokenizer
public java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class Tokenizer
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class Tokenizer
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String getDelimiters()
public void setDelimiters(java.lang.String value)
setDelimiters("\r\n\t\\");
or
setDelimiters("\\r\\n\\t\\\\");
.value
- Value to assign to delimiters.Utils.unbackQuoteChars(String)
public java.lang.String delimitersTipText()