public class MultiPointHandler extends Object implements ShapeHandler
| Constructor and Description |
|---|
MultiPointHandler()
Creates new MultiPointHandler
|
MultiPointHandler(ShapeType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength(Object geometry)
Calcuates the record length of this object.
|
ShapeType |
getShapeType()
Returns the shapefile shape type value for a point
|
org.locationtech.jts.geom.Geometry |
read(ReadBufferManager buffer,
ShapeType type)
Read a geometry from the ByteBuffer.
|
void |
write(WriteBufferManager buffer,
Object geometry)
Write the geometry into the ByteBuffer.
|
public MultiPointHandler()
public MultiPointHandler(ShapeType type) throws ShapefileException
ShapefileExceptionpublic ShapeType getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(Object geometry)
getLength in interface ShapeHandlergeometry - The geometry to analyze.public org.locationtech.jts.geom.Geometry read(ReadBufferManager buffer, ShapeType type) throws IOException
ShapeHandlerread in interface ShapeHandlerbuffer - The ByteBuffer to read from.IOExceptionpublic void write(WriteBufferManager buffer, Object geometry) throws IOException
ShapeHandlerwrite in interface ShapeHandlerbuffer - The ByteBuffer to write to.geometry - The geometry to write.IOExceptionCopyright © 2019 CNRS. All rights reserved.