|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geotools.shapefile.PointHandler
public class PointHandler
Wrapper for a Shapefile Point.
| Constructor Summary | |
|---|---|
PointHandler()
|
|
PointHandler(int type)
|
|
| Method Summary | |
|---|---|
com.vividsolutions.jts.geom.Geometry |
getEmptyGeometry(com.vividsolutions.jts.geom.GeometryFactory factory)
Return a empty geometry. |
int |
getLength(com.vividsolutions.jts.geom.Geometry geometry)
Calcuates the record length of this object. |
int |
getShapeType()
Returns the shapefile shape type value for a point |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointHandler(int type)
throws InvalidShapefileException
InvalidShapefileExceptionpublic PointHandler()
| Method Detail |
|---|
public 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.IOException
InvalidShapefileException
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||