Class ShapefileHeader
- java.lang.Object
-
- com.vividsolutions.jtstest.testbuilder.io.shapefile.ShapefileHeader
-
public class ShapefileHeader extends java.lang.Object- Author:
- jamesm
-
-
Field Summary
Fields Modifier and Type Field Description intfileLength
-
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 EnvelopegetBounds()intgetShapeType()intgetVersion()voidsetFileLength(int fileLength)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-