oracle.spatial.util
Class WKT.WKTInputStream
java.lang.Object
oracle.spatial.util.WKT.WKTInputStream
- All Implemented Interfaces:
- WKInputStream
- Enclosing class:
- WKT
protected class WKT.WKTInputStream
- extends java.lang.Object
- implements WKInputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_tokenizer
protected final java.io.StreamTokenizer m_tokenizer
m_listLengths
protected final java.util.Vector[] m_listLengths
m_currentParanLevel
protected int m_currentParanLevel
WKT.WKTInputStream
public WKT.WKTInputStream(byte[] wkt)
readDouble
public double readDouble(ByteOrder byteOrder)
- Specified by:
readDouble in interface WKInputStream
readLabel
public int readLabel(ByteOrder byteOrder,
int outerLabel)
- Specified by:
readLabel in interface WKInputStream
readStartList
public void readStartList()
- Specified by:
readStartList in interface WKInputStream
readStartList
public int readStartList(ByteOrder byteOrder)
throws java.lang.RuntimeException
- Specified by:
readStartList in interface WKInputStream
- Throws:
java.lang.RuntimeException
readListLengths
protected java.util.Vector[] readListLengths(java.io.StreamTokenizer tokenizer)
readEndList
public void readEndList()
- Specified by:
readEndList in interface WKInputStream
readSeparator
public void readSeparator()
- Specified by:
readSeparator in interface WKInputStream
readByteOrder
public ByteOrder readByteOrder()
throws GeometryExceptionWithContext
- Specified by:
readByteOrder in interface WKInputStream
- Throws:
GeometryExceptionWithContext
tokenizeWKT
protected java.io.StreamTokenizer tokenizeWKT(java.lang.String wkt)