Package me.despical.commons.file
Class FileUtils
java.lang.Object
me.despical.commons.file.FileUtils
- Since:
- 1.1.8 Created at 31.10.2020
- Author:
- Despical
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyURLToFile(URL url, File destination) Download a file from specified URL to destination file.
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
copyURLToFile
Download a file from specified URL to destination file.- Parameters:
url- where to download filedestination- where the output stream will be in- Throws:
IOException- if connection fails
-