use of org.graalvm.component.installer.remote.FileDownloader in project graal by oracle.
the class GenerateCatalog method downloadFiles.
private void downloadFiles() throws IOException {
for (Spec spec : componentSpecs) {
if (spec.f == null) {
FileDownloader dn = new FileDownloader(spec.u, createURL(spec.u), env);
dn.setDisplayProgress(true);
dn.download();
spec.f = dn.getLocalFile();
}
}
}
Aggregations