
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 |
LOG
Class logger
|
static String |
POLYGON_SEPARATOR
Polygon separator
|
ATTRIBUTE_CONCATENATION, comment, COMMENT_PATTERN, DEFAULT_SEPARATOR, NUMBER_PATTERN, QUOTE_CHARS, tokenizer| Constructor and Description |
|---|
SimplePolygonParser(Pattern colSep,
String quoteChars,
Pattern comment)
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.
|
lengthWithoutLinefeed, toStringprivate static final Logging LOG
public static final Pattern COORD
public static final String POLYGON_SEPARATOR
public MultipleObjectsBundle parse(InputStream in)
Parserprivate Object[] parseLine(String line)
line - Line to parseprotected Logging getLogger()
AbstractParsergetLogger in class AbstractParser