public class ShapefileHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
fileLength |
Constructor and Description |
---|
ShapefileHeader(EndianDataInputStream file) |
ShapefileHeader(com.vividsolutions.jts.geom.GeometryCollection geometries,
int dims) |
Modifier and Type | Method and Description |
---|---|
com.vividsolutions.jts.geom.Envelope |
getBounds() |
int |
getShapeType() |
int |
getVersion() |
void |
setFileLength(int fileLength) |
java.lang.String |
toString() |
void |
write(EndianDataOutputStream file) |
void |
writeToIndex(EndianDataOutputStream file) |
public ShapefileHeader(EndianDataInputStream file) throws java.io.IOException
java.io.IOException
public ShapefileHeader(com.vividsolutions.jts.geom.GeometryCollection geometries, int dims) throws java.lang.Exception
java.lang.Exception
public void setFileLength(int fileLength)
public void write(EndianDataOutputStream file) throws java.io.IOException
java.io.IOException
public void writeToIndex(EndianDataOutputStream file) throws java.io.IOException
java.io.IOException
public int getShapeType()
public int getVersion()
public com.vividsolutions.jts.geom.Envelope getBounds()
public java.lang.String toString()
toString
in class java.lang.Object