|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.drivers.shp.internal.PointHandler
public class PointHandler
Wrapper for a Shapefile point.
| Constructor Summary | |
|---|---|
PointHandler()
|
|
PointHandler(ShapeType type)
|
|
| Method Summary | |
|---|---|
int |
getLength(Object geometry)
Get the length of the given geometry Object in bytes not 16-bit words. |
ShapeType |
getShapeType()
Returns the shapefile shape type value for a point |
com.vividsolutions.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointHandler(ShapeType type)
throws ShapefileException
ShapefileExceptionpublic PointHandler()
| Method Detail |
|---|
public ShapeType getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(Object geometry)
ShapeHandler
getLength in interface ShapeHandlergeometry - The geometry to analyze.
public com.vividsolutions.jts.geom.Geometry read(ReadBufferManager buffer,
ShapeType type)
throws IOException
ShapeHandler
read in interface ShapeHandlerbuffer - The ByteBuffer to read from.
IOException
public void write(WriteBufferManager buffer,
Object geometry)
throws IOException
ShapeHandler
write in interface ShapeHandlerbuffer - The ByteBuffer to write to.geometry - The geometry to write.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||