public class SHPNullWriter extends Object implements SHPShapeWriter
Constructor and Description |
---|
SHPNullWriter() |
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.
|
void |
write(ByteBuffer buffer)
Escribe en el buffer la geometría que se pasa como parámetro.
|
void |
write(ByteBuffer buffer,
Geometry geometry) |
public int getShapeType()
SHPShapeWriter
getShapeType
in interface SHPShapeWriter
public void write(ByteBuffer buffer, Geometry geometry)
public int getLength()
SHPShapeWriter
getLength
in interface SHPShapeWriter
public void write(ByteBuffer buffer) throws WriteException
SHPShapeWriter
write
in interface SHPShapeWriter
buffer
- Buffer donde escribir.WriteException
public void initialize(Geometry geometry) throws GeometryException
SHPShapeWriter
initialize
in interface SHPShapeWriter
geometry
- la Geometría.GeometryException