Class NCBIGeneFileFetcher
java.lang.Object
ubic.gemma.core.loader.util.fetcher.AbstractFetcher
ubic.gemma.core.loader.util.fetcher.FtpFetcher
ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
ubic.gemma.core.loader.genome.gene.ncbi.NCBIGeneFileFetcher
- All Implemented Interfaces:
ArchiveFetcher,Fetcher
Class to download files for NCBI gene. Pass the name of the file (without the .gz) to the fetch method: for example,
gene_info.
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
doDelete, expanderFields inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
avoidDownload, ftpClient, netDataSourceUtilFields inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
allowUseExisting, force, INFO_UPDATE_INTERVAL, localBasePath, log, remoteBaseDir -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformLocalFilePath(String identifier, File newDir) protected StringformRemoteFilePath(String identifier) voidvoidsetDoDownload(boolean doDownload) voidMethods inherited from class ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
cleanUp, doTask, initArchiveHandler, listFiles, setDeleteAfterUnpack, setExcludePattern, setForce, unPackMethods inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
defineTask, fetch, fetch, getExpectedSize, getNetDataSourceUtil, setAvoidDownloadMethods inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
fetchedFile, fetchedFile, getExistingFile, getLocalBasePath, isForce, mkdir, mkdir, setAllowUseExisting, waitForDownload
-
Constructor Details
-
NCBIGeneFileFetcher
public NCBIGeneFileFetcher()
-
-
Method Details
-
initConfig
public void initConfig()- Specified by:
initConfigin classAbstractFetcher
-
formLocalFilePath
- Specified by:
formLocalFilePathin classAbstractFetcher
-
formRemoteFilePath
- Specified by:
formRemoteFilePathin classAbstractFetcher
-
setNetDataSourceUtil
public void setNetDataSourceUtil()- Specified by:
setNetDataSourceUtilin classFtpFetcher
-
setDoDownload
public void setDoDownload(boolean doDownload)
-