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 int
getLength(org.locationtech.jts.geom.Geometry geometry)
int
getShapeType()
org.locationtech.jts.geom.Geometry
read(EndianDataInputStream file, org.locationtech.jts.geom.GeometryFactory geometryFactory, int contentLength)
void
write(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:
IOException
InvalidShapefileException
-
write
void write(org.locationtech.jts.geom.Geometry geometry, EndianDataOutputStream file) throws IOException
- Throws:
IOException
-
getLength
int getLength(org.locationtech.jts.geom.Geometry geometry)
-
-