Package org.h2.util.geometry
Class EWKTUtils.EWKTSource
java.lang.Object
org.h2.util.geometry.EWKTUtils.EWKTSource
- Enclosing class:
EWKTUtils
Helper source object for EWKT reading.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkStringEnd
(int len) (package private) int
boolean
(package private) boolean
hasData()
boolean
private static boolean
isNumberPart
(char ch) private static boolean
isNumberStart
(char ch) private int
(package private) void
read
(char symbol) double
(package private) int
(package private) boolean
(package private) int
readSRID()
(package private) int
readType()
private void
skipWS()
toString()
-
Field Details
-
ewkt
-
offset
private int offset
-
-
Constructor Details
-
EWKTSource
EWKTSource(String ewkt)
-
-
Method Details
-
readSRID
int readSRID() -
read
void read(char symbol) -
readType
int readType() -
readDimensionSystem
int readDimensionSystem() -
readEmpty
boolean readEmpty() -
match
-
checkStringEnd
private void checkStringEnd(int len) -
hasCoordinate
public boolean hasCoordinate() -
readCoordinate
public double readCoordinate() -
isNumberStart
private static boolean isNumberStart(char ch) -
isNumberPart
private static boolean isNumberPart(char ch) -
hasMoreCoordinates
public boolean hasMoreCoordinates() -
hasData
boolean hasData() -
getItemCount
int getItemCount() -
skipWS
private void skipWS() -
toString
-