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