public class SimpleWKTShapeParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SimpleWKTShapeParser.ShapeType
Enumerated type for Shapes
|
Modifier and Type | Field and Description |
---|---|
static String |
COMMA |
static String |
EMPTY |
static String |
LPAREN |
static String |
NAN |
static String |
RPAREN |
static String |
SPACE |
Modifier and Type | Method and Description |
---|---|
static Object |
parse(String wkt) |
static Object |
parseExpectedType(String wkt,
SimpleWKTShapeParser.ShapeType shapeType) |
public static final String EMPTY
public static final String SPACE
public static final String LPAREN
public static final String RPAREN
public static final String COMMA
public static final String NAN
public static Object parse(String wkt) throws IOException, ParseException
IOException
ParseException
public static Object parseExpectedType(String wkt, SimpleWKTShapeParser.ShapeType shapeType) throws IOException, ParseException
IOException
ParseException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.