- exception
Convert an IOException into a RuntimeIOException. Idiom:
catch(IOException ex) { throw new exceptio
- asPath
Convert a Location to a Path.
- deleteAll
Delete everything from a Path start point, including the path itself. Works on
files or directories.
- safeWrite
Write a file safely - the change happens (the function returns true) or
something went wrong (the fu
- asLocation
Convert a Path to a Location.
- createTempFile
Return a temporary filename path. This operation is thread-safe.
- ensureDirectory
Ensure a directory exists, creating the directory and any missing directories on
the path to it.
- readAll
Read the whole of a file
- run
Run an action. converting an IOException into a RuntimeIOException. Idiom:
run(()->...));