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 TypeMethodDescriptionintintGet 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:
readin interfaceShapeHandler- Throws:
IOExceptionInvalidShapefileException
-
getShapeType
public int getShapeType()Get the type of shape stored (Shapefile.ARC)- Specified by:
getShapeTypein interfaceShapeHandler
-
getLength
- Specified by:
getLengthin interfaceShapeHandler
-