com.partnersoft.v3x.graphics.codec.shapeFile
Class ShapeFile
java.lang.Object
com.partnersoft.v3x.graphics.codec.shapeFile.ShapeFile
public class ShapeFile
- extends java.lang.Object
a shape file. this is actually 3 files. a *.shp which contains information
about for each shape contained in the file... a *.shx file that is nothing
more than an index into the *.shp file, and a *.dbf file for additional
information note:: now with main gone, you can check for an example
implementation in
com.partnersoft.v3x.apps.Staker.interfaces.shapeFile.ShapeFileJobGenerator.java
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POINT
public static final int POINT
- See Also:
- Constant Field Values
POLY_LINE
public static final int POLY_LINE
- See Also:
- Constant Field Values
ShapeFile
public ShapeFile()
ShapeFile
public ShapeFile(java.lang.String newFilename)
writeHeaders
public void writeHeaders()
throws java.io.IOException
- must have DoubleRectangle - extents String - filename int -
numberOfRecords static final - shapeType
- Throws:
java.io.IOException
writeRecord
public void writeRecord(ShapeFileSketchRecord shapie)
throws java.io.IOException
- Throws:
java.io.IOException
writeRecord
public void writeRecord(ShapeFileRecord shapie)
throws java.io.IOException
- Throws:
java.io.IOException
clear
public void clear()
openFiles
public void openFiles()
closeFiles
public void closeFiles()
setDBFFieldDescriptors
public void setDBFFieldDescriptors(java.util.Map settings)
setDBFFieldDescriptors
public void setDBFFieldDescriptors(java.util.ArrayList settings)
setExtents
public void setExtents(DoubleRectangle newRect)
getExtents
public DoubleRectangle getExtents()
clearNumberOfRecords
public void clearNumberOfRecords()
setNumberOfRecords
public void setNumberOfRecords(int newNumber)
getNumberOfRecords
public int getNumberOfRecords()
setShapeType
public void setShapeType(int newType)
getShapeType
public int getShapeType()
setFilename
public void setFilename(java.lang.String newFilename)
getFilename
public java.lang.String getFilename()
setRecordHash
public void setRecordHash(java.util.HashMap hashMap)
getRecordHash
public java.util.HashMap getRecordHash()
getDBFFieldDescriptors
public java.util.ArrayList getDBFFieldDescriptors()