Class DownloaderImpl
- java.lang.Object
-
- org.siouan.frontendgradleplugin.core.DownloaderImpl
-
public class DownloaderImpl extends java.lang.ObjectClass providing download utilities with efficient behavior and low impact on memory. This downloader uses a temporary directory to store data being downloaded.
-
-
Constructor Summary
Constructors Constructor Description DownloaderImpl(java.nio.file.Path temporaryDirectory)Builds a downloader using the given directory as a temporary directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownload(java.net.URL resourceUrl, java.nio.file.Path destinationFile)
-