Class ShapefileHeader
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.io.shapefile.ShapefileHeader
-
public class ShapefileHeader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Envelope
bounds
private static boolean
DEBUG
private int
fileCode
int
fileLength
private int
indexLength
private int
shapeType
private int
version
-
Constructor Summary
Constructors Constructor Description ShapefileHeader(GeometryCollection geometries, int dims)
ShapefileHeader(EndianDataInputStream file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Envelope
getBounds()
int
getShapeType()
int
getVersion()
void
setFileLength(int fileLength)
java.lang.String
toString()
-
-
-
Field Detail
-
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
-
fileCode
private int fileCode
-
fileLength
public int fileLength
-
indexLength
private int indexLength
-
version
private int version
-
shapeType
private int shapeType
-
bounds
private Envelope bounds
-
-
Constructor Detail
-
ShapefileHeader
public ShapefileHeader(EndianDataInputStream file) throws java.io.IOException
- Throws:
java.io.IOException
-
ShapefileHeader
public ShapefileHeader(GeometryCollection geometries, int dims) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
setFileLength
public void setFileLength(int fileLength)
-
getShapeType
public int getShapeType()
-
getVersion
public int getVersion()
-
getBounds
public Envelope getBounds()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-