com.partnersoft.v3x.io.formats.shapefile
Class FastShapefileReader
java.lang.Object
com.partnersoft.v3x.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.
| Fields inherited from interface com.partnersoft.v3x.io.formats.shapefile.ShapefileConstants |
ARCINFO_ARC, ARCINFO_ARCMAYBE, ARCINFO_ARCMAYBE2, ARCINFO_ARCMAYBE3, MULTIPATCH, MULTIPOINT, MULTIPOINTM, MULTIPOINTZ, NULLSHAPE, POINT, POINTM, POINTZ, POLYGON, POLYGONM, POLYGONZ, POLYLINE, POLYLINEM, POLYLINEZ, shapeNames, WHATZIT10, WHATZIT4, WHATZIT9 |
| 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 java.util.Map currentData
currentShapeType
public int currentShapeType
FastShapefileReader
public FastShapefileReader(java.io.File shapefile)
throws java.io.IOException
- Throws:
java.io.IOException
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
fieldNames
public java.util.ArrayList fieldNames()