Class MultiLineHandler
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.io.shapefile.MultiLineHandler
-
- All Implemented Interfaces:
ShapeHandler
public class MultiLineHandler extends Object implements ShapeHandler
Wrapper for a Shapefile arc.
-
-
Constructor Summary
Constructors Constructor Description MultiLineHandler()MultiLineHandler(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength(Geometry geometry)intgetShapeType()Get the type of shape stored (Shapefile.ARC)Geometryread(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)
-
-
-
Constructor Detail
-
MultiLineHandler
public MultiLineHandler()
-
MultiLineHandler
public MultiLineHandler(int type) throws InvalidShapefileException- Throws:
InvalidShapefileException
-
-
Method Detail
-
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
public int getLength(Geometry geometry)
- Specified by:
getLengthin interfaceShapeHandler
-
-