Class Download
- java.lang.Object
-
- technology.dice.dicewhere.downloader.Download
-
- Direct Known Subclasses:
IpInfoBaseDownload,MaxmindBaseDownload
public abstract class Download extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleannoCheckMd5protected booleanoverwriteprotected booleanverbose
-
Constructor Summary
Constructors Constructor Description Download(boolean noCheckMd5, boolean overwrite, boolean verbose)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckNecessaryEnvironmentVariables()protected abstract DownloadExecutionResultexecute()booleanisVerbose()protected DownloadExecutionResultprocess(FileAcceptor<?> acceptor, FileSource fileSource)
-
-
-
Method Detail
-
process
protected DownloadExecutionResult process(FileAcceptor<?> acceptor, FileSource fileSource) throws DownloaderException
- Throws:
DownloaderException
-
execute
protected abstract DownloadExecutionResult execute()
-
checkNecessaryEnvironmentVariables
protected void checkNecessaryEnvironmentVariables()
-
isVerbose
public boolean isVerbose()
-
-