public class ShapefileHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Envelope |
bounds |
private static boolean |
DEBUG |
private int |
fileCode |
int |
fileLength |
private int |
indexLength |
private int |
shapeType |
private int |
version |
Constructor and Description |
---|
ShapefileHeader(EndianDataInputStream file) |
ShapefileHeader(GeometryCollection geometries,
int dims) |
Modifier and Type | Method and Description |
---|---|
Envelope |
getBounds() |
int |
getShapeType() |
int |
getVersion() |
void |
setFileLength(int fileLength) |
java.lang.String |
toString() |
private static final boolean DEBUG
private int fileCode
public int fileLength
private int indexLength
private int version
private int shapeType
private Envelope bounds
public ShapefileHeader(EndianDataInputStream file) throws java.io.IOException
java.io.IOException
public ShapefileHeader(GeometryCollection geometries, int dims) throws java.lang.Exception
java.lang.Exception
public void setFileLength(int fileLength)
public int getShapeType()
public int getVersion()
public Envelope getBounds()
public java.lang.String toString()
toString
in class java.lang.Object