MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / downloadUrlToFile

Method downloadUrlToFile

CodenameOne/src/com/codename1/io/Util.java:1967–1969  ·  view source on GitHub ↗
(String url, String fileName, boolean showProgress)

Source from the content-addressed store, hash-verified

1965 ///
1966 /// true on success false on error
1967 public static boolean downloadUrlToFile(String url, String fileName, boolean showProgress) {
1968 return downloadUrlTo(url, fileName, showProgress, false, false, null);
1969 }
1970
1971 /// Non-blocking method that will download the given URL to storage in the background and return
1972 /// immediately. This method can be used to fetch data dynamically and asynchronously e.g. in this code it is used

Callers 1

invokeStatic16Method · 0.80

Calls 1

downloadUrlToMethod · 0.95

Tested by

no test coverage detected