Package org.locationtech.spatial4j.io
Class PolyshapeReader.XReader
- java.lang.Object
-
- org.locationtech.spatial4j.io.PolyshapeReader.XReader
-
- Enclosing class:
- PolyshapeReader
public static class PolyshapeReader.XReader extends Object
from Apache 2.0 licensed: https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
-
-
Constructor Summary
Constructors Constructor Description XReader(Reader input, ShapeFactory shpFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisData()booleanisDone()booleanisEvent()intpeek()doublereadDouble()charreadKey()doublereadLat()doublereadLng()<T extends ShapeFactory.PointsBuilder>
TreadPoints(T builder)
-
-
-
Constructor Detail
-
XReader
public XReader(Reader input, ShapeFactory shpFactory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readPoints
public <T extends ShapeFactory.PointsBuilder> T readPoints(T builder) throws IOException
- Throws:
IOException
-
readLat
public double readLat() throws IOException- Throws:
IOException
-
readLng
public double readLng() throws IOException- Throws:
IOException
-
readDouble
public double readDouble() throws IOException- Throws:
IOException
-
peek
public int peek()
-
readKey
public char readKey() throws IOException- Throws:
IOException
-
isData
public boolean isData()
-
isDone
public boolean isDone()
-
isEvent
public boolean isEvent()
-
-