Class FileUtils

java.lang.Object
me.despical.commons.file.FileUtils

public class FileUtils extends Object
Since:
1.1.8 Created at 31.10.2020
Author:
Despical

  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • copyURLToFile

      public static void copyURLToFile(URL url, File destination) throws IOException
      Download a file from specified URL to destination file.
      Parameters:
      url - where to download file
      destination - where the output stream will be in
      Throws:
      IOException - if connection fails