Interface Fetcher
-
- All Known Subinterfaces:
ArchiveFetcher,HttpArchiveFetcherInterface
- All Known Implementing Classes:
AbstractFetcher,DataFileFetcher,DatasetFetcher,FtpArchiveFetcher,FtpFetcher,GeoFetcher,HomologeneFetcher,HttpFetcher,LocalDatasetFetcher,LocalSeriesFetcher,NCBIGeneFileFetcher,PlatformFetcher,RawDataFetcher,SDRFFetcher,SeriesFetcher,TaxonFetcher
public interface FetcherInterface for classes that can fetch files from a remote location and copy them to a specified location.- Author:
- pavlidis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<LocalFile>fetch(String identifier)Fetch files according to the identifier provided.voidsetForce(boolean force)Set whether existing files should be overwritten.
-
-
-
Method Detail
-
fetch
Collection<LocalFile> 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
-
-