Class PolygonHandler
java.lang.Object
org.locationtech.jtstest.testbuilder.io.shapefile.PolygonHandler
- All Implemented Interfaces:
ShapeHandler
Wrapper for a Shapefile polygon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)
-
Constructor Details
-
PolygonHandler
public PolygonHandler() -
PolygonHandler
- Throws:
InvalidShapefileException
-
-
Method Details
-
read
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException - Specified by:
read
in interfaceShapeHandler
- Throws:
IOException
InvalidShapefileException
-
getShapeType
public int getShapeType()- Specified by:
getShapeType
in interfaceShapeHandler
-
getLength
- Specified by:
getLength
in interfaceShapeHandler
-