
public class SimplePolygonParser extends AbstractParser implements Parser
POLYGON_SEPARATOR.
Unparseable parts will be treated as labels.| Modifier and Type | Class and Description |
|---|---|
static class |
SimplePolygonParser.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
COORD
Pattern to catch coordinates
|
private static Logging |
logger
Class logger
|
static String |
POLYGON_SEPARATOR
Polygon separator
|
ATTRIBUTE_CONCATENATION, COLUMN_SEPARATOR_ID, COMMENT, NUMBER_PATTERN, QUOTE_CHAR, QUOTE_ID, quoteChar, WHITESPACE_PATTERN| Constructor and Description |
|---|
SimplePolygonParser(Pattern colSep,
char quoteChar)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Logging |
getLogger()
Get the logger for this class.
|
MultipleObjectsBundle |
parse(InputStream in)
Returns a list of the objects parsed from the specified input stream.
|
private Object[] |
parseLine(String line)
Parse a single line.
|
tokenize, toStringprivate static final Logging logger
public static final Pattern COORD
public static final String POLYGON_SEPARATOR
public SimplePolygonParser(Pattern colSep, char quoteChar)
colSep - quoteChar - public MultipleObjectsBundle parse(InputStream in)
Parserprivate Object[] parseLine(String line)
line - Line to parseprotected Logging getLogger()
AbstractParsergetLogger in class AbstractParser