public class SHPMultiPointWriter extends Object implements SHPShapeWriter
Constructor and Description |
---|
SHPMultiPointWriter(int type)
Crea un nuevo SHPMultiPoint.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Devuelve el tamaño de la geometría.
|
int |
getShapeType()
Devuelve el tipo de multipoint en concreto.
|
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 SHPMultiPointWriter(int type)
type
- Tipo de multipunto.ShapefileException
public int getShapeType()
getShapeType
in interface SHPShapeWriter
@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(com.iver.cit.gvsig.core.BasicShape.FGeometry)
public void initialize(Geometry geometry) throws GeometryException
SHPShapeWriter
initialize
in interface SHPShapeWriter
geometry
- la Geometría.GeometryException