|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.orient.internal.ExtendedWKBReader
public class ExtendedWKBReader
Extended version of WKBReader
, that differentiates between
LinearRing
s and LineString
s.
Constructor Summary | |
---|---|
ExtendedWKBReader()
Default constructor |
|
ExtendedWKBReader(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
Create an extended WKB reader with the given geometry factory. |
Method Summary | |
---|---|
static byte[] |
hexToBytes(String hex)
Converts a hexadecimal string to a byte array. |
com.vividsolutions.jts.geom.Geometry |
read(byte[] bytes)
Reads a single Geometry in WKB format from a byte array. |
com.vividsolutions.jts.geom.Geometry |
read(com.vividsolutions.jts.io.InStream is)
Reads a Geometry in binary WKB format from an InStream . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtendedWKBReader()
public ExtendedWKBReader(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
geometryFactory
- the geometry factoryMethod Detail |
---|
public static byte[] hexToBytes(String hex)
hex
- a string containing hex digits
public com.vividsolutions.jts.geom.Geometry read(byte[] bytes) throws com.vividsolutions.jts.io.ParseException
Geometry
in WKB format from a byte array.
bytes
- the byte array to read from
com.vividsolutions.jts.io.ParseException
- if the WKB is ill-formedpublic com.vividsolutions.jts.geom.Geometry read(com.vividsolutions.jts.io.InStream is) throws IOException, com.vividsolutions.jts.io.ParseException
Geometry
in binary WKB format from an InStream
.
is
- the stream to read from
IOException
- if the underlying stream creates an error
com.vividsolutions.jts.io.ParseException
- if the WKB is ill-formed
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |