Package fr.flowarg.flowupdater.download
Class VanillaDownloader
java.lang.Object
fr.flowarg.flowupdater.download.VanillaDownloader
This class handles the downloading of vanilla files (client, assets, natives...).
-
Constructor Summary
ConstructorsConstructorDescriptionVanillaDownloader(Path dir, @NotNull FlowUpdater flowUpdater) Construct a new VanillaDownloader object. -
Method Summary
Modifier and TypeMethodDescriptionvoiddownload()This method downloads calls other methods to download and verify all files.
-
Constructor Details
-
VanillaDownloader
Construct a new VanillaDownloader object.- Parameters:
dir- the installation directory.flowUpdater- the flow updater object.- Throws:
Exception- if an I/O error occurred.
-
-
Method Details
-
download
This method downloads calls other methods to download and verify all files.- Throws:
Exception- if an I/O error occurred.
-