com.bbn.openmap.dataAccess.mapTile
Class MapTileUtil.Copy

java.lang.Object
  extended by com.bbn.openmap.dataAccess.mapTile.MapTileUtil.Action
      extended by com.bbn.openmap.dataAccess.mapTile.MapTileUtil.Copy
Enclosing class:
MapTileUtil

public static class MapTileUtil.Copy
extends MapTileUtil.Action

Action that copies tiles from one directory to another.

Author:
dietrick

Constructor Summary
MapTileUtil.Copy(java.lang.String source, java.lang.String destination)
           
 
Method Summary
 void action(int x, int y, int zoomLevel, MapTileUtil mtu)
          Called from within grabTiles, with the tile info.
 void go()
           
 
Methods inherited from class com.bbn.openmap.dataAccess.mapTile.MapTileUtil.Action
addBounds, addZoom, addZoomRange, format, getBoundsList, getDestination, getFormat, getMtcTransform, getSource, getZoomLevels, setBoundsList, setDestination, setFormat, setMtcTransform, setSource, setZoomLevels, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTileUtil.Copy

public MapTileUtil.Copy(java.lang.String source,
                        java.lang.String destination)
Method Detail

go

public void go()
Specified by:
go in class MapTileUtil.Action

action

public void action(int x,
                   int y,
                   int zoomLevel,
                   MapTileUtil mtu)
Description copied from class: MapTileUtil.Action
Called from within grabTiles, with the tile info. You can use this information to make a method call on mtu.

Specified by:
action in class MapTileUtil.Action
Parameters:
x - tile coordinate
y - tile coordinate
zoomLevel - tile zoom level
mtu - callback


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details