Package org.cugos.wkg
Class WKBReader
- java.lang.Object
-
- org.cugos.wkg.WKBReader
-
-
Constructor Summary
Constructors Constructor Description WKBReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name of the ReaderGeometryread(byte[] bytes)Read a Geometry from an array of bytes.Geometryread(String hex)Read a Geometry from a hex Stringprotected Geometryread(ByteBuffer buffer)Read a Geometry from a ByteBuffer
-
-
-
Method Detail
-
read
public Geometry read(byte[] bytes)
Read a Geometry from an array of bytes.
-
getName
public String getName()
Description copied from interface:ReaderGet the name of the Reader
-
read
public Geometry read(String hex)
Read a Geometry from a hex String- Parameters:
hex- The hex String- Returns:
- A Geometry or null
-
read
protected Geometry read(ByteBuffer buffer)
Read a Geometry from a ByteBuffer- Parameters:
buffer- The ByteBuffer- Returns:
- A Geometry or null
-
-