Removes this file or directory.
Removes this file or directory.
Returns a reference to the file system in which this file resides.
Returns a reference to the file system in which this file resides.
Opens an input stream to read raw bytes from this file.
Opens an input stream to read raw bytes from this file.
Opens an output stream to write raw bytes to this file.
Returns an array of the components of this path.
Returns an array of the components of this path.
Directory("/home/admin/projects") = ("home", "admin", "projects")
Returns the number of bytes in this file.
Returns the number of bytes in this file.
Returns the basename of a file name (without the extension part).
Returns the basename of a file name (without the extension part).
Returns a lazy iterable sequence of raw bytes in this file.
Returns a lazy iterable sequence of raw bytes in this file.
Returns a lazy iterable sequence of characters in this file given a character encoding.
Returns a lazy iterable sequence of characters in this file given a character encoding.
Returns the extension of this file.
Returns the extension of this file. The extension is lowercased.
If there's no extension, the empty string ""
is returned.
Returns the full name (including the absolute path) of this file.
Returns the full name (including the absolute path) of this file.
Returns a lazy iterable sequence of lines in this file given a character encoding.
Returns a lazy iterable sequence of lines in this file given a character encoding.
Returns the name (without the path section) of this file or directory.
Returns the name (without the path section) of this file or directory.
Returns the parent directory of this path.
Returns the parent directory of this path.
Opens a reader to read characters from this file given a character encoding.
Opens a reader to read characters from this file given a character encoding.
Reads all content of this file to a string.
Reads all content of this file to a string.
Opens a writer to write characters to this file given a character encoding.
Represents a regular file under a specific file system.
0.2.0