@Test public void verifyWKT() throws Exception { String WKT = "LINESTRING (60 380, 60 20, 200 400, 280 20, 360 400, 420 20, 500 400, 580 20, 620 400)"; WKTReader reader = new WKTReader2(); Geometry geometry = reader.read(WKT); assertNotNull(geometry); }
public Geometry read(String wellKnownText) throws ParseException { StringReader reader = new StringReader(wellKnownText); try { return read(reader); } finally { reader.close(); } }
WKTReader2 extends WKTReader { public Geometry read(String wellKnownText) throws ParseException { StringReader reader = new StringReader(wellKnownText); try { return read(reader); } finally { reader.close(); } } }
WKTReader2 extends WKTReader { public Geometry read(String wellKnownText) throws ParseException { StringReader reader = new StringReader(wellKnownText); try { return read(reader); } finally { reader.close(); } } WKTReader2();  WKTReader2(GeometryFactory geometryFactory); }
WKTReader2 extends WKTReader { public Geometry read(String wellKnownText) throws ParseException { StringReader reader = new StringReader(wellKnownText); try { return read(reader); } finally { reader.close(); } } WKTReader2();  WKTReader2(GeometryFactory geometryFactory); Geometry read(String wellKnownText); Geometry read(Reader reader); }
WKTReader2 extends WKTReader { public Geometry read(String wellKnownText) throws ParseException { StringReader reader = new StringReader(wellKnownText); try { return read(reader); } finally { reader.close(); } } WKTReader2();  WKTReader2(GeometryFactory geometryFactory); Geometry read(String wellKnownText); Geometry read(Reader reader);  }