com.partnersoft.io.formats.shapefile
Class FastShapefileReader
java.lang.Object
com.partnersoft.io.formats.shapefile.FastShapefileReader
- All Implemented Interfaces:
- ShapefileConstants, java.util.Iterator
public class FastShapefileReader
- extends java.lang.Object
- implements ShapefileConstants, java.util.Iterator
New reader for ESRI shapefiles and data. Uses streams for both DBF
and SHP files; minimizes object creation.
- Author:
- Paul Reavis
Copyright 2002 Partner Software, Inc.
| Fields inherited from interface com.partnersoft.io.formats.shapefile.ShapefileConstants |
ARCINFO_ARC, ARCINFO_ARCMAYBE, MULTIPATCH, MULTIPOINT, MULTIPOINTM, MULTIPOINTZ, NULLSHAPE, POINT, POINTM, POINTZ, POLYGON, POLYGONM, POLYGONZ, POLYLINE, POLYLINEM, POLYLINEZ, shapeNames, WHATZIT4, WHATZIT9 |
|
Method Summary |
void |
close()
|
static void |
debug(java.lang.String path)
|
boolean |
hasNext()
|
static void |
main(java.lang.String[] argv)
|
java.lang.Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentRecordNumber
public int currentRecordNumber
currentPoints
public PolylineArray currentPoints
currentData
public Naming currentData
currentShapeType
public int currentShapeType
FastShapefileReader
public FastShapefileReader(java.io.File shapefile)
throws java.io.IOException
- Throws:
java.io.IOException
debug
public static void debug(java.lang.String path)
main
public static void main(java.lang.String[] argv)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator