ReadWrite
Represents a combined interface for read and write operations on a given pathway or resource.
This interface extends both the ReadOnly and Write interfaces, allowing full control over interacting with resources associated with a specific Path
. This includes retrieval, modification, and creation operations. Suitable for cases where both read and write capabilities are required, without compromising the ability to manage the underlying resource effectively.
The ReadWrite
interface inherits the contract of the following:
ReadOnly: Provides read-only access, including serialization, selection, and data retrieval operations.
Write: Enables data creation, modification, and deletion, supporting essential write-related functionality.
Parameters
The type of the resource pathway or identifier handled by this interface.
Inheritors
Functions
Creates a new file or directory within a specified parent directory.
Converts a string representation of an absolute file path into a Path object.
Converts a relative path string to a Path
object by resolving it against a base path.
Retrieves the metadata associated with the specified file or directory.
Relativizes the given path path
based on the specified root
path. This function calculates the relative path from the root
to the path
.
Converts a given Path object into its absolute path representation as a string.
Converts the given path to a string representation of the file path.