Class DownloadHelper
- java.lang.Object
-
- com.redhat.devtools.intellij.common.utils.DownloadHelper
-
public class DownloadHelper extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdownloadIfRequired(java.lang.String toolName, java.net.URL url)java.util.concurrent.CompletableFuture<java.lang.String>downloadIfRequiredAsync(java.lang.String toolName, java.net.URL url)static DownloadHelpergetInstance()
-
-
-
Method Detail
-
getInstance
public static DownloadHelper getInstance()
-
downloadIfRequired
public java.lang.String downloadIfRequired(java.lang.String toolName, java.net.URL url) throws java.io.IOException- Throws:
java.io.IOException
-
downloadIfRequiredAsync
public java.util.concurrent.CompletableFuture<java.lang.String> downloadIfRequiredAsync(java.lang.String toolName, java.net.URL url)
-
-