|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.shapefile.shp.MultiPointHandler
Constructor Summary | |
MultiPointHandler()
Creates new MultiPointHandler |
|
MultiPointHandler(ShapeType type)
|
Method Summary | |
int |
getLength(java.lang.Object geometry)
Calcuates the record length of this object. |
ShapeType |
getShapeType()
Returns the shapefile shape type value for a point |
java.lang.Object |
read(java.nio.ByteBuffer buffer,
ShapeType type)
Read a geometry from the ByteBuffer. |
void |
write(java.nio.ByteBuffer buffer,
java.lang.Object geometry)
Write the geometry into the ByteBuffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiPointHandler()
public MultiPointHandler(ShapeType type) throws ShapefileException
Method Detail |
public ShapeType getShapeType()
getShapeType
in interface ShapeHandler
public int getLength(java.lang.Object geometry)
getLength
in interface ShapeHandler
geometry
- The geometry to analyze.
public java.lang.Object read(java.nio.ByteBuffer buffer, ShapeType type)
ShapeHandler
read
in interface ShapeHandler
buffer
- The ByteBuffer to read from.
public void write(java.nio.ByteBuffer buffer, java.lang.Object geometry)
ShapeHandler
write
in interface ShapeHandler
buffer
- The ByteBuffer to write to.geometry
- The geometry to write.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |