public class PointHandler extends Object implements ShapeHandler
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
InvalidShapefileException
public PointHandler()
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException
read
in interface ShapeHandler
IOException
InvalidShapefileException
public int getShapeType()
getShapeType
in interface ShapeHandler
public int getLength(Geometry geometry)
getLength
in interface ShapeHandler
Copyright © 2017. All Rights Reserved.