Package org.geotools.shapefile
Class ShapefileHeader
- java.lang.Object
-
- org.geotools.shapefile.ShapefileHeader
-
public class ShapefileHeader extends Object
- Author:
- jamesm
-
-
Field Summary
Fields Modifier and Type Field Description intfileLength
-
Constructor Summary
Constructors Constructor Description ShapefileHeader(org.locationtech.jts.geom.GeometryCollection geometries, int dims)ShapefileHeader(EndianDataInputStream file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.EnvelopegetBounds()intgetShapeType()intgetVersion()voidsetFileLength(int fileLength)StringtoString()voidwrite(EndianDataOutputStream file)voidwriteToIndex(EndianDataOutputStream file)
-
-
-
Constructor Detail
-
ShapefileHeader
public ShapefileHeader(EndianDataInputStream file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
setFileLength
public void setFileLength(int fileLength)
-
write
public void write(EndianDataOutputStream file) throws IOException
- Throws:
IOException
-
writeToIndex
public void writeToIndex(EndianDataOutputStream file) throws IOException
- Throws:
IOException
-
getShapeType
public int getShapeType()
-
getVersion
public int getVersion()
-
getBounds
public org.locationtech.jts.geom.Envelope getBounds()
-
-