Class TPKTile


  • public class TPKTile
    extends Object
    Tile object returned to the reader
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TPKTile.TileInfo
      Temporary utility object to keep tile location/length info
      static class  TPKTile.TPKTileSorter
      Sort comparator -- sorts tiles by bundle and then the tile data offset
    • Constructor Summary

      Constructors 
      Constructor Description
      TPKTile​(long zoomLevel, long col, long row, String imageFormat, TPKTile.TileInfo tileInfo, int bundleNum)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTileData​(byte[] tileData)  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • zoomLevel

        public long zoomLevel
      • col

        public long col
      • row

        public long row
      • imageFormat

        public String imageFormat
      • tileData

        public byte[] tileData
      • bundleNum

        public int bundleNum
    • Constructor Detail

      • TPKTile

        public TPKTile​(long zoomLevel,
                       long col,
                       long row,
                       String imageFormat,
                       TPKTile.TileInfo tileInfo,
                       int bundleNum)
    • Method Detail

      • setTileData

        public void setTileData​(byte[] tileData)