class TileImporter {

    public void importTiles(GeoPackage geopackage, List<GeoPackageLayer> layers, CancellableTaskActivity ta, ProgressModel model)
    {
        for (GeoPackageLayer layer : layers)
        {
            if (layer instanceof GeoPackageTileLayer)
            {
                importLayer(geopackage, (GeoPackageTileLayer)layer, ta, model);
            }

            if (ta.isCancelled())
            {
                break;
            }
        }
    }

    public  TileImporter(TileRowImporter rowImporter);

}