Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@angiejones
Last active January 28, 2019 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angiejones/2aedf93771ef77d57e8b11adc559fa02 to your computer and use it in GitHub Desktop.
Save angiejones/2aedf93771ef77d57e8b11adc559fa02 to your computer and use it in GitHub Desktop.
Move file to test directory
File downloadedPDF = new File("/Users/angie/Downloads/" + invoiceNumber + ".pdf");
String destination = "resources/Invoice_PDFs/" + invoiceNumber + ".pdf";
FileUtils.moveFile(downloadedPDF, destination);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment