public abstract static class AbstractParser.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected Pattern |
colSep
Stores the column separator pattern
|
static OptionID |
COLUMN_SEPARATOR_ID
OptionID for the column separator parameter (defaults to whitespace as in
AbstractParser.DEFAULT_SEPARATOR . |
protected Pattern |
comment
Comment pattern.
|
static OptionID |
COMMENT_ID
Comment pattern.
|
static OptionID |
QUOTE_ID
OptionID for the quote character parameter (defaults to a double
quotation mark as in
AbstractParser.QUOTE_CHARS . |
protected String |
quoteChars
Stores the quotation character
|
Constructor and Description |
---|
AbstractParser.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractParser |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID COLUMN_SEPARATOR_ID
AbstractParser.DEFAULT_SEPARATOR
.public static final OptionID QUOTE_ID
AbstractParser.QUOTE_CHARS
.public static final OptionID COMMENT_ID
protected Pattern colSep
protected String quoteChars
protected Pattern comment
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected abstract AbstractParser makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer