class FileDownloader
<init> |
FileDownloader(aem: AemExtension) |
download |
fun download(size: Long, input: InputStream, target: File): Unit |
logProgress |
fun ProgressLogger.logProgress(operation: String, readLength: Long, fullLength: Long, file: File, startDownloadTime: Long): Unit |
remainingDownloadTime |
fun remainingDownloadTime(startDownloadTime: Long, fullLength: Long): Long |
KILOBYTE |
const val KILOBYTE: Int |
TRANSFER_CHUNK_100_KB |
const val TRANSFER_CHUNK_100_KB: Int |