Package org.geotools.data.db2
Class DB2WKBReader
Object
DB2WKBReader
- Author:
- Christian Mueller
Version of JTS WKB Reader adjusted for DB2
- See Also:
-
for JTS Java Doc
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DB2WKBReader
public DB2WKBReader() -
DB2WKBReader
-
-
Method Details
-
hexToBytes
Converts a hexadecimal string to a byte array.- Parameters:
hex
- a string containing hex digits
-
read
Reads a singleGeometry
from a byte array.- Parameters:
bytes
- the byte array to read from- Returns:
- the geometry read
- Throws:
ParseException
- if a parse exception occurs
-
read
Reads aGeometry
from an {@link InStream).- Parameters:
is
- the stream to read from- Returns:
- the Geometry read
- Throws:
IOException
ParseException
-