public class WKTReader2
extends WKTReader
WKTWriter2| Constructor and Description |
|---|
WKTReader2()
Creates a reader that creates objects using the default
GeometryFactory. |
WKTReader2(double tolerance)
Creates a reader that creates objects using the default
GeometryFactory. |
WKTReader2(GeometryFactory geometryFactory)
Creates a reader that creates objects using the given
GeometryFactory. |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
read(Reader reader)
Reads a Well-Known Text representation of a
Geometry from a Reader. |
Geometry |
read(String wellKnownText)
Reads a Well-Known Text representation of a
Geometry from a String. |
public WKTReader2()
GeometryFactory.public WKTReader2(double tolerance)
GeometryFactory.public WKTReader2(GeometryFactory geometryFactory)
GeometryFactory.geometryFactory - the factory used to create Geometrys.public Geometry read(String wellKnownText) throws ParseException
Geometry from a String.read in class WKTReaderwellKnownText - one or more Geometry specified by wellKnownTextParseException - if a parsing problem occurspublic Geometry read(Reader reader) throws ParseException
Geometry from a Reader.read in class WKTReaderreader - a Reader which will return a Geometry read from readerParseException - if a parsing problem occursCopyright © 1996–2019 Geotools. All rights reserved.