class LocalTemplateDownloader extends TemplateDownloaderBase implements TemplateDownloader {

  public LocalTemplateDownloader(StorageLayer storageLayer, String downloadUrl, String toDir,
      long maxTemplateSizeInBytes, DownloadCompleteCallback callback) {
    super(storageLayer, downloadUrl, toDir, maxTemplateSizeInBytes, callback);
    final String filename = new File(downloadUrl).getName();
    _toFile = toDir.endsWith(File.separator) ? toDir + filename : toDir + File.separator + filename;
  }

  public  LocalTemplateDownloader(StorageLayer storageLayer, String downloadUrl, String toDir,
      long maxTemplateSizeInBytes, DownloadCompleteCallback callback);
  public  LocalTemplateDownloader(StorageLayer storageLayer, String downloadUrl, String toDir,
      long maxTemplateSizeInBytes);
  public  LocalTemplateDownloader(String downloadUrl, String toDir, long maxTemplateSizeInBytes);

}