public class ShapefileHeader extends Object
Constructor and Description |
---|
ShapefileHeader() |
Modifier and Type | Method and Description |
---|---|
int |
getFileLength() |
ShapeType |
getShapeType() |
int |
getVersion() |
double |
maxX() |
double |
maxY() |
double |
minX() |
double |
minY() |
void |
read(ByteBuffer file,
boolean strict) |
String |
toString() |
void |
write(ByteBuffer file,
ShapeType type,
int numGeoms,
int length,
double minX,
double minY,
double maxX,
double maxY) |
public static final int MAGIC
public static final int VERSION
public void read(ByteBuffer file, boolean strict) throws IOException
IOException
public void write(ByteBuffer file, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY) throws IOException
IOException
public ShapeType getShapeType()
public int getVersion()
public int getFileLength()
public double minX()
public double minY()
public double maxX()
public double maxY()
Copyright © 1996–2019 Geotools. All rights reserved.