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 int
fileLength
-
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.Envelope
getBounds()
int
getShapeType()
int
getVersion()
void
setFileLength(int fileLength)
String
toString()
void
write(EndianDataOutputStream file)
void
writeToIndex(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()
-
-