Interface Fetcher

All Known Subinterfaces:
ArchiveFetcher
All Known Implementing Classes:
AbstractFetcher, DataFileFetcher, DatasetFetcher, FtpArchiveFetcher, FtpFetcher, GeoFetcher, HomologeneFetcher, HttpFetcher, LocalDatasetFetcher, LocalSeriesFetcher, NCBIGeneFileFetcher, PlatformFetcher, RawDataFetcher, SDRFFetcher, SeriesFetcher, TaxonFetcher

public interface Fetcher
Interface for classes that can fetch files from a remote location and copy them to a specified location.
Author:
pavlidis
  • Method Summary

    Modifier and Type
    Method
    Description
    fetch(String identifier)
    Fetch files according to the identifier provided.
    void
    setForce(boolean force)
    Set whether existing files should be overwritten.
  • Method Details

    • fetch

      Collection<File> fetch(String identifier)
      Fetch files according to the identifier provided.
      Parameters:
      identifier - identifier
      Returns:
      local files
    • setForce

      void setForce(boolean force)
      Set whether existing files should be overwritten.
      Parameters:
      force - new force value