Package oracle.spatial.util
Class WKB.WKBInputStream
- java.lang.Object
-
- oracle.spatial.util.WKB.WKBInputStream
-
- All Implemented Interfaces:
WKInputStream
- Enclosing class:
- WKB
protected class WKB.WKBInputStream extends java.lang.Object implements WKInputStream
-
-
Constructor Summary
Constructors Constructor Description WKBInputStream(byte[] wkb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDimensions()
int
getOrdinatesSize()
int
readByte()
ByteOrder
readByteOrder()
double
readDouble(ByteOrder byteOrder)
void
readEndList()
void
readEndListOrSeparator()
int
readInnerLabel()
int
readLabel(ByteOrder byteOrder, int outerLabel)
void
readSeparator()
void
readStartList()
int
readStartList(ByteOrder byteOrder)
protected int
readUInt32(ByteOrder byteOrder)
-
-
-
Method Detail
-
getOrdinatesSize
public int getOrdinatesSize()
- Specified by:
getOrdinatesSize
in interfaceWKInputStream
-
readDouble
public double readDouble(ByteOrder byteOrder)
- Specified by:
readDouble
in interfaceWKInputStream
-
readUInt32
protected int readUInt32(ByteOrder byteOrder)
-
readStartList
public void readStartList()
- Specified by:
readStartList
in interfaceWKInputStream
-
readStartList
public int readStartList(ByteOrder byteOrder)
- Specified by:
readStartList
in interfaceWKInputStream
-
readEndList
public void readEndList()
- Specified by:
readEndList
in interfaceWKInputStream
-
readEndListOrSeparator
public void readEndListOrSeparator()
- Specified by:
readEndListOrSeparator
in interfaceWKInputStream
-
readSeparator
public void readSeparator()
- Specified by:
readSeparator
in interfaceWKInputStream
-
getDimensions
public int getDimensions()
- Specified by:
getDimensions
in interfaceWKInputStream
-
readLabel
public int readLabel(ByteOrder byteOrder, int outerLabel)
- Specified by:
readLabel
in interfaceWKInputStream
-
readInnerLabel
public int readInnerLabel()
- Specified by:
readInnerLabel
in interfaceWKInputStream
-
readByte
public int readByte() throws GeometryExceptionWithContext
- Specified by:
readByte
in interfaceWKInputStream
- Throws:
GeometryExceptionWithContext
-
readByteOrder
public ByteOrder readByteOrder() throws GeometryExceptionWithContext
- Specified by:
readByteOrder
in interfaceWKInputStream
- Throws:
GeometryExceptionWithContext
-
-