Class ShapefileHeader
java.lang.Object
org.h2gis.functions.io.shp.internal.ShapefileHeader
- Author:
- jamesm, Ian Schneider {}@see http://svn.geotools.org/geotools/tags/2.3.1/plugin/shapefile/src/org/geotools/data/shapefile/shp/ShapefileHeader.java}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintdoublemaxX()doublemaxY()doubleminX()doubleminY()voidread(ByteBuffer file) toString()voidwrite(WriteBufferManager shapeBuffer, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY)
-
Field Details
-
MAGIC
public static final int MAGIC- See Also:
-
VERSION
public static final int VERSION- See Also:
-
-
Constructor Details
-
ShapefileHeader
public ShapefileHeader()
-
-
Method Details
-
read
- Throws:
IOException
-
write
public void write(WriteBufferManager shapeBuffer, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY) throws IOException - Throws:
IOException
-
getShapeType
-
getVersion
public int getVersion() -
getFileLength
public int getFileLength() -
minX
public double minX() -
minY
public double minY() -
maxX
public double maxX() -
maxY
public double maxY() -
toString
-