public class WKBEncoder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
WKBEncoder.wkbByteOrder |
static interface |
WKBEncoder.wkbGeometryType |
Constructor and Description |
---|
WKBEncoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(Geometry geometry) |
void |
encode(Geometry geometry,
ByteArrayOutputStream stream) |
void |
encode(Geometry geometry,
DataOutputStream stream) |
public byte[] encode(Geometry geometry) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException
public void encode(Geometry geometry, ByteArrayOutputStream stream) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException
public void encode(Geometry geometry, DataOutputStream stream) throws GeometryTypeNotSupportedException, WKBEncodingException, IOException