Class TransferFileWriter
java.lang.Object
com.amilesend.onedrive.connection.file.TransferFileWriter
A file writer utility used while downloading files that reports transfer progress to the configured
TransferProgressCallback.- See Also:
-
Method Details
-
write
Writes the givensource(streamed response body) to the configuredoutput.- Parameters:
source- the source to read the contents fromsize- the total expected size of the contents in bytes- Returns:
- the number of total read bytes
- Throws:
IOException- if unable to write the contents to the configured path
-
builder
-