MultiLineHandler.withType constructor
MultiLineHandler.withType(
- ShapeType type,
- GeometryFactory gf
Create a MultiLineHandler for one of:
ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ
@param type The ShapeType to use. @throws ShapefileException If the ShapeType is not correct (see constructor).
Implementation
MultiLineHandler.withType(ShapeType type, GeometryFactory gf) {
if (!type.isLineType()) {
throw ShapefileException(
"MultiLineHandler constructor - expected type to be 3,13 or 23");
}
shapeType = type;
geometryFactory = gf;
}