Class LocalDatasetFetcher
- java.lang.Object
-
- ubic.gemma.core.loader.util.fetcher.AbstractFetcher
-
- ubic.gemma.core.loader.util.fetcher.FtpFetcher
-
- ubic.gemma.core.loader.expression.geo.fetcher.GeoFetcher
-
- ubic.gemma.core.loader.expression.geo.fetcher.DatasetFetcher
-
- ubic.gemma.core.loader.expression.geo.fetcher.LocalDatasetFetcher
-
- All Implemented Interfaces:
Fetcher
public class LocalDatasetFetcher extends DatasetFetcher
Used for testing, but might have other uses, to fetch GEO data from local files instead of the GEO website.- Author:
- pavlidis
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
avoidDownload, ftpClient, netDataSourceUtil
-
Fields inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
allowUseExisting, force, INFO_UPDATE_INTERVAL, localBasePath, log, remoteBaseDir
-
-
Constructor Summary
Constructors Constructor Description LocalDatasetFetcher(String localPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<LocalFile>
fetch(String accession)
Fetch files according to the identifier provided.-
Methods inherited from class ubic.gemma.core.loader.expression.geo.fetcher.DatasetFetcher
formRemoteFilePath, initConfig
-
Methods inherited from class ubic.gemma.core.loader.expression.geo.fetcher.GeoFetcher
formLocalFilePath, setNetDataSourceUtil
-
Methods inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
defineTask, doTask, fetch, getExpectedSize, getNetDataSourceUtil, setAvoidDownload
-
Methods inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
fetchedFile, fetchedFile, getExistingFile, getLocalBasePath, isForce, mkdir, mkdir, setAllowUseExisting, setForce, waitForDownload
-
-
-
-
Constructor Detail
-
LocalDatasetFetcher
public LocalDatasetFetcher(String localPath)
-
-
Method Detail
-
fetch
public Collection<LocalFile> fetch(String accession)
Description copied from interface:Fetcher
Fetch files according to the identifier provided.- Specified by:
fetch
in interfaceFetcher
- Overrides:
fetch
in classFtpFetcher
- Parameters:
accession
- identifier- Returns:
- local files
-
-