Class Overview
A request for downloading a PDF document. This class is immutable. To create an instance use the
DownloadRequest.Builder
.
Summary
Fields |
public
final
File |
outputFile |
Output file where the download will be written to. |
public
final
boolean |
overwriteExisting |
If set to true and the outputFile already exists, the document will be
re-download and the file overwritten. |
public
final
DownloadSource |
source |
Remote source for downloading the document. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
public
final
File
outputFile
Output file where the download will be written to.
public
final
boolean
overwriteExisting
If set to true
and the outputFile
already exists, the document will be
re-download and the file overwritten. If set to false
, the download will complete
immediately returning the already existing file.
Remote source for downloading the document.
Public Methods