|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.io.WKTReader
public class WKTReader
WKTReader is a JUMPReader specialized to read WTK (Well Known Text) files.
DataProperties for the JUMPReader load(DataProperties)
interface:
| Parameter | Meaning |
|---|---|
| File or DefaultValue | File name for the input WKT file |
| CompressedFile | File name (a .zip or .gz) with a .jml/.xml/.gml inside (specified by File) |
| Constructor Summary | |
|---|---|
WKTReader()
constructor |
|
| Method Summary | |
|---|---|
FeatureCollection |
read(DriverProperties dp)
Main function -read in a file containing a list of WKT geometries |
FeatureCollection |
read(java.io.Reader reader)
Reads in the actual WKT geometries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WKTReader()
| Method Detail |
|---|
public FeatureCollection read(DriverProperties dp)
throws IllegalParametersException,
java.lang.Exception
read in interface JUMPReaderdp - 'InputFile' or 'DefaultValue' to specify where the WKT file is.
IllegalParametersException
java.lang.Exception
public FeatureCollection read(java.io.Reader reader)
throws java.lang.Exception
reader - where to read the geometries from
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||