Class MultiLineHandler
java.lang.Object
org.locationtech.jtstest.testbuilder.io.shapefile.MultiLineHandler
- All Implemented Interfaces:
ShapeHandler
Wrapper for a Shapefile arc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
Get the type of shape stored (Shapefile.ARC)read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)
-
Constructor Details
-
MultiLineHandler
public MultiLineHandler() -
MultiLineHandler
- 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()Get the type of shape stored (Shapefile.ARC)- Specified by:
getShapeType
in interfaceShapeHandler
-
getLength
- Specified by:
getLength
in interfaceShapeHandler
-