
public abstract class AbstractParser extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractParser.Parameterizer
Parameterization class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ATTRIBUTE_CONCATENATION
A sign to separate attributes. 
 | 
private Pattern | 
colSep
Stores the column separator pattern 
 | 
protected Pattern | 
comment
Comment pattern. 
 | 
static String | 
COMMENT_PATTERN
Default pattern for comments. 
 | 
static String | 
DEFAULT_SEPARATOR
A pattern defining whitespace. 
 | 
static String | 
NUMBER_PATTERN
A pattern catching most numbers that can be parsed using
 Double.parseDouble:
 
 Some examples:  
1 1. | 
static char | 
QUOTE_CHAR
A quote pattern 
 | 
protected char | 
quoteChar
Stores the quotation character 
 | 
| Constructor and Description | 
|---|
AbstractParser(Pattern colSep,
              char quoteChar,
              Pattern comment)
Constructor. 
 | 
public static final String DEFAULT_SEPARATOR
public static final char QUOTE_CHAR
public static final String NUMBER_PATTERN
1 1. 1.2
 .2 -.2e-03public static final String COMMENT_PATTERN
public static final String ATTRIBUTE_CONCATENATION
private Pattern colSep
protected char quoteChar
protected Pattern comment
protected List<String> tokenize(String input)
input - Input stringprotected abstract Logging getLogger()