All Downloads are FREE. Search and download functionalities are using the official Maven repository.

technology.dice.dicewhere.downloader.actions.ipinfo.IpInfoBaseDownload Maven / Gradle / Ivy

The newest version!
package technology.dice.dicewhere.downloader.actions.ipinfo;

import technology.dice.dicewhere.downloader.Download;

public abstract class IpInfoBaseDownload extends Download {

  protected final IpInfoDataset dataset;

  protected final IpInfoFormat format;

  public IpInfoBaseDownload(
      boolean noCheckMd5,
      boolean overwrite,
      boolean verbose,
      IpInfoDataset dataset,
      IpInfoFormat format) {
    super(noCheckMd5, overwrite, verbose);
    this.dataset = dataset;
    this.format = format;
  }

  protected String ipInfoPath() {
    return "ipinfo/" + dataset.getRemoteName() + "/" + format.getSuffix();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy