- getRelativePath
- copy
Copy the InputStream to the OutputStream.
- recursiveDelete
Recursively deletes the file and any children files if its a directory
- isDirectory
Returns true if the given file is of type directory and exists
- readBytes
Reads an InputStream and returns the data as a byte array
- getExtension
- getFileExtension
Returns the file extension of the file name of the path or null
- isFile
Returns true if the given file is of type file and exists
- writeToFile
Writes String content to File.
- toString
Reads an InputStream and returns a .
- assertExists
Throws an exception if the given file or directory does not exist
- createTempFile
Creates a temporary file.