public class PointHandler extends Object implements ShapeHandler
| Constructor and Description |
|---|
PointHandler() |
PointHandler(int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength(com.vividsolutions.jts.geom.Geometry geometry)
Calcuates the record length of this object.
|
int |
getShapeType()
Returns the shapefile shape type value for a point
|
com.vividsolutions.jts.geom.Geometry |
read(EndianDataInputStream file,
com.vividsolutions.jts.geom.GeometryFactory geometryFactory,
int contentLength) |
void |
write(com.vividsolutions.jts.geom.Geometry geometry,
EndianDataOutputStream file) |
public PointHandler(int type)
throws InvalidShapefileException
InvalidShapefileExceptionpublic PointHandler()
public com.vividsolutions.jts.geom.Geometry read(EndianDataInputStream file, com.vividsolutions.jts.geom.GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException
read in interface ShapeHandlerIOExceptionInvalidShapefileExceptionpublic void write(com.vividsolutions.jts.geom.Geometry geometry,
EndianDataOutputStream file)
throws IOException
write in interface ShapeHandlerIOExceptionpublic int getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(com.vividsolutions.jts.geom.Geometry geometry)
getLength in interface ShapeHandlerCopyright © 2015. All rights reserved.