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) |
String |
toString() |
void |
write(WriteBufferManager shapeBuffer,
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) throws IOException
IOExceptionpublic void write(WriteBufferManager shapeBuffer, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY) throws IOException
IOExceptionpublic ShapeType getShapeType()
public int getVersion()
public int getFileLength()
public double minX()
public double minY()
public double maxX()
public double maxY()
Copyright © 2019 CNRS. All rights reserved.