public class SHPPointWriter extends Object implements SHPShapeWriter
Constructor and Description |
---|
SHPPointWriter(int type)
Crea un nuevo SHPPoint.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Devuelve el tamaño de la geometría.
|
int |
getShapeType()
Devuelve el tipo de shape de que se trata.
|
void |
initialize(Geometry geometry)
Inicializa el writer con la geometría.
|
Geometry |
read(MappedByteBuffer buffer,
int type)
Deprecated.
|
void |
write(ByteBuffer buffer)
Escribe en el buffer la geometría que se pasa como parámetro.
|
public SHPPointWriter(int type)
type
- DOCUMENT ME!ShapefileException
- DOCUMENT ME!public int getShapeType()
SHPShapeWriter
getShapeType
in interface SHPShapeWriter
com.iver.cit.gvsig.fmap.shp.SHPShape#getShapeType()
@Deprecated public Geometry read(MappedByteBuffer buffer, int type)
public void write(ByteBuffer buffer)
SHPShapeWriter
write
in interface SHPShapeWriter
buffer
- Buffer donde escribir.com.iver.cit.gvsig.fmap.shp.SHPShape#write(ByteBuffer, IGeometry)
public int getLength()
SHPShapeWriter
getLength
in interface SHPShapeWriter
com.iver.cit.gvsig.fmap.shp.SHPShape#getLength(int)
public void initialize(Geometry geometry)
SHPShapeWriter
initialize
in interface SHPShapeWriter
geometry
- la Geometría.