Package 

Object HttpDownloadUtils

    • Method Summary

      Modifier and Type Method Description
      final Result<Unit> downloadFile(String fileUrl, String destinationPath) 从指定的 URL 下载文件并保存到本地路径。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • downloadFile

         final Result<Unit> downloadFile(String fileUrl, String destinationPath)

        从指定的 URL 下载文件并保存到本地路径。

        Parameters:
        fileUrl - 文件的 URL 地址。
        destinationPath - 文件保存的本地路径。