Package org.geotools.shapefile
Interface ShapeHandler
-
- All Known Implementing Classes:
MultiLineHandler,MultiPointHandler,PointHandler,PolygonHandler
public interface ShapeHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLength(org.locationtech.jts.geom.Geometry geometry)intgetShapeType()org.locationtech.jts.geom.Geometryread(EndianDataInputStream file, org.locationtech.jts.geom.GeometryFactory geometryFactory, int contentLength)voidwrite(org.locationtech.jts.geom.Geometry geometry, EndianDataOutputStream file)
-
-
-
Method Detail
-
getShapeType
int getShapeType()
-
read
org.locationtech.jts.geom.Geometry read(EndianDataInputStream file, org.locationtech.jts.geom.GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException
- Throws:
IOExceptionInvalidShapefileException
-
write
void write(org.locationtech.jts.geom.Geometry geometry, EndianDataOutputStream file) throws IOException- Throws:
IOException
-
getLength
int getLength(org.locationtech.jts.geom.Geometry geometry)
-
-