public class MultiLineHandler extends java.lang.Object implements ShapeHandler
| Constructor and Description | 
|---|
MultiLineHandler()  | 
MultiLineHandler(int type)  | 
| Modifier and Type | Method and Description | 
|---|---|
com.vividsolutions.jts.geom.Geometry | 
getEmptyGeometry(com.vividsolutions.jts.geom.GeometryFactory factory)
Return a empty geometry. 
 | 
int | 
getLength(com.vividsolutions.jts.geom.Geometry geometry)  | 
int | 
getShapeType()
Get the type of shape stored (Shapefile.ARC, Shapefile.ARCM, Shapefile.ARCZ) 
 | 
com.vividsolutions.jts.geom.Geometry | 
read(EndianDataInputStream file,
    com.vividsolutions.jts.geom.GeometryFactory geometryFactory,
    int contentLength)  | 
void | 
write(com.vividsolutions.jts.geom.Geometry geometry,
     EndianDataOutputStream file)  | 
public MultiLineHandler()
public MultiLineHandler(int type)
                 throws InvalidShapefileException
InvalidShapefileExceptionpublic com.vividsolutions.jts.geom.Geometry read(EndianDataInputStream file, com.vividsolutions.jts.geom.GeometryFactory geometryFactory, int contentLength) throws java.io.IOException, InvalidShapefileException
read in interface ShapeHandlerjava.io.IOExceptionInvalidShapefileExceptionpublic void write(com.vividsolutions.jts.geom.Geometry geometry,
         EndianDataOutputStream file)
           throws java.io.IOException
write in interface ShapeHandlerjava.io.IOExceptionpublic int getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(com.vividsolutions.jts.geom.Geometry geometry)
getLength in interface ShapeHandlerpublic com.vividsolutions.jts.geom.Geometry getEmptyGeometry(com.vividsolutions.jts.geom.GeometryFactory factory)
getEmptyGeometry in interface ShapeHandler