public class PlainTextProvider extends java.lang.Object implements IDownloadProvider
Constructor and Description |
---|
PlainTextProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
downloadFile(java.lang.String url,
java.lang.String downloadPath)
Method to download a file
|
java.util.EnumSet<FileType> |
getCapabilities()
This is used internally to determine which download provider to use
|
public boolean downloadFile(java.lang.String url, java.lang.String downloadPath)
IDownloadProvider
downloadFile
in interface IDownloadProvider
url
- URL to download the file fromdownloadPath
- Path to download the file topublic java.util.EnumSet<FileType> getCapabilities()
IDownloadProvider
getCapabilities
in interface IDownloadProvider