-
public class HttpDownloadUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static HttpDownloadUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final Result<Unit>downloadFile(String fileUrl, String destinationPath)从指定的 URL 下载文件并保存到本地路径。 -
-
Method Detail
-
downloadFile
final Result<Unit> downloadFile(String fileUrl, String destinationPath)
从指定的 URL 下载文件并保存到本地路径。
- Parameters:
fileUrl- 文件的 URL 地址。destinationPath- 文件保存的本地路径。
-
-
-
-