|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.cutruzzula.lwkt.WKTParser
public class WKTParser
The core class of the LWKT parser
Method Summary | |
---|---|
static AbstractGeometry |
parse(java.lang.String input)
Method to parse a WKT string. |
static java.lang.String |
parseToGML2(java.lang.String input)
Method to parse a WKT string to get GML 2 output. |
static java.lang.String |
parseToGML2(java.lang.String input,
java.lang.String srsName)
Method to parse a WKT string to get GML 2 output. |
static java.lang.String |
parseToGML3(java.lang.String input)
Method to parse a WKT string to get GML 3 output (for example MultiSurface instead of MultiPolygon). |
static java.lang.String |
parseToGML3(java.lang.String input,
java.lang.String srsName)
Method to parse a WKT string to get GML 3 output (for example MultiSurface instead of MultiPolygon). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String parseToGML2(java.lang.String input) throws java.lang.Exception
input
- The WKT string
java.lang.Exception
- A generic exception thrown in parsingpublic static java.lang.String parseToGML2(java.lang.String input, java.lang.String srsName) throws java.lang.Exception
input
- The WKT stringsrsName
- The SRS to write in output GML
java.lang.Exception
- A generic exception thrown in parsingpublic static java.lang.String parseToGML3(java.lang.String input) throws java.lang.Exception
input
- The WKT string
java.lang.Exception
- A generic exception thrown in parsingpublic static java.lang.String parseToGML3(java.lang.String input, java.lang.String srsName) throws java.lang.Exception
input
- The WKT stringsrsName
- The SRS to write in output GML
java.lang.Exception
- A generic exception thrown in parsingpublic static AbstractGeometry parse(java.lang.String input) throws java.lang.Exception
input
- The WKT string
java.lang.Exception
- A generic exception thrown in parsing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |