public class DownLoadUtil extends Object
| 构造器和说明 |
|---|
DownLoadUtil() |
public static void downLoadFromHttpUrl(String urlStr, String fileName, String savePath, String token) throws IOException
urlStr - 待下载的http文件的uri链接fileName - 保存到本地的文件名称savePath - 保存的本地目录IOException - 异常信息public static void main(String[] args) throws IOException
IOExceptionCopyright © 2023. All rights reserved.