Package com.gpudb.filesystem.download
Class DownloadOptions
java.lang.Object
com.gpudb.filesystem.download.DownloadOptions
This class allows the user of the
GPUdbFileHandler class methods for download like - GPUdbFileHandler.download(String, String, DownloadOptions, FileDownloadListener) and GPUdbFileHandler.download(List, String, DownloadOptions, FileDownloadListener) to specify the download options which could be applied to the current download operation. Right now there is only option and that is whether to allow overwriting of files existing in the local directory or not. The static method defaultOptions() can be used to retrieve the default options for download.Method Summary
Modifier and TypeMethodDescriptionstatic DownloadOptionsbooleanvoidsetOverwriteExisting(boolean overwriteExisting)