Creates a new Path with the specified path appended.
Creates a BufferedReader and applies the closure, automatically closing it on completion.
Wraps a BufferedReader around the result of reader().
Wraps a BufferedWriter around the result of writer().
Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec.
Deletes the path recursively.
Obtains an InputStream.
Obtains a OutputStream.
The path of the parent directory, or root if path is already root
Calls println on each string (so it adds a newline in the PrintWriter fashion.
Obtains an InputStreamReader wrapped around a FileInputStream.
Reflection since we're into the java 6+ API.
Convenience function to import entire file into a String.
If this path is absolute, returns it: otherwise, returns an absolute path made up of root / this.
This method aspires to be the fastest way to read a stream of known length into memory.
Equivalent to walkFilter(_ => false).
If this path is a container, recursively iterate over its contents.
Creates a new file and writes all the Strings to it.
Obtains an OutputStreamWriter wrapped around a FileOutputStream.