org.geotools.shapefile
Class ShapefileHeader
java.lang.Object
org.geotools.shapefile.ShapefileHeader
public class ShapefileHeader
- extends java.lang.Object
- Author:
- jamesm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fileLength
public int fileLength
ShapefileHeader
public ShapefileHeader(EndianDataInputStream file)
throws java.io.IOException
- Throws:
java.io.IOException
ShapefileHeader
public ShapefileHeader(com.vividsolutions.jts.geom.GeometryCollection geometries,
int dims)
throws java.lang.Exception
- Throws:
java.lang.Exception
setFileLength
public void setFileLength(int fileLength)
write
public void write(EndianDataOutputStream file)
throws java.io.IOException
- Throws:
java.io.IOException
writeToIndex
public void writeToIndex(EndianDataOutputStream file)
throws java.io.IOException
- Throws:
java.io.IOException
getShapeType
public int getShapeType()
getVersion
public int getVersion()
getBounds
public com.vividsolutions.jts.geom.Envelope getBounds()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object