-
public final class FileDownloader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFileDownloader.Companion
-
Constructor Summary
Constructors Constructor Description FileDownloader(CommonExtension common)
-
Method Summary
Modifier and Type Method Description final Unitdownload(InputStream input, File target)final LonggetSize()final IntegergetChunkSize()final UnitsetSize(Long size)final UnitsetChunkSize(Integer chunkSize)-
-
Constructor Detail
-
FileDownloader
FileDownloader(CommonExtension common)
-
-
Method Detail
-
download
final Unit download(InputStream input, File target)
-
getChunkSize
final Integer getChunkSize()
-
setChunkSize
final Unit setChunkSize(Integer chunkSize)
-
-
-
-