Class TileReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Iterator<Tile>

    public class TileReader
    extends Object
    implements Iterator<Tile>, Closeable
    The TileReader reads tiles consecutively from a tile layer inside a GeoPackage.
    Justin Deoliveira, Niels Charlier
    • Constructor Summary

      Constructor Description
      TileReader​(ResultSet rs, Statement st, Connection cx)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      Tile next()  
      void remove()  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Iterator

    • Constructor Detail

      • TileReader

        public TileReader​(ResultSet rs,
                          Statement st,
                          Connection cx)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<Tile>
      • next

        public Tile next()
        Specified by:
        next in interface Iterator<Tile>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<Tile>
      • close

        public void close()
                   throws IOException
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable