Class PolyshapeReader.XReader

  • Enclosing class:
    PolyshapeReader

    public static class PolyshapeReader.XReader
    extends java.lang.Object
    from Apache 2.0 licensed: https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
    • Field Detail

      • lat

        int lat
      • lng

        int lng
      • head

        int head
      • input

        final java.io.Reader input
    • Constructor Detail

      • XReader

        public XReader​(java.io.Reader input,
                       ShapeFactory shpFactory)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readPoints

        public <T extends ShapeFactory.PointsBuilder> T readPoints​(T builder)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readLat

        public double readLat()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readLng

        public double readLng()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readDouble

        public double readDouble()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • peek

        public int peek()
      • readKey

        public char readKey()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • isData

        public boolean isData()
      • isDone

        public boolean isDone()
      • isEvent

        public boolean isEvent()
      • readInt

        int readInt()
             throws java.io.IOException
        Throws:
        java.io.IOException