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 String
getName()
Get the name of the ReaderGeometry
read(byte[] bytes)
Read a Geometry from an array of bytes.Geometry
read(String hex)
Read a Geometry from a hex Stringprotected Geometry
read(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:Reader
Get 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
-
-