public class PointHandler extends java.lang.Object implements ShapeHandler
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
myShapeType |
(package private) int |
Ncoords |
| Constructor and Description |
|---|
PointHandler() |
PointHandler(int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength(Geometry geometry)
Calcuates the record length of this object.
|
int |
getShapeType()
Returns the shapefile shape type value for a point
|
Geometry |
read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
public PointHandler(int type)
throws InvalidShapefileException
InvalidShapefileExceptionpublic PointHandler()
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws java.io.IOException, InvalidShapefileException
read in interface ShapeHandlerjava.io.IOExceptionInvalidShapefileExceptionpublic int getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(Geometry geometry)
getLength in interface ShapeHandler