Class UnixFSTemporaryResourceContents
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTemporaryResourceContents
- All Implemented Interfaces:
ResourceContents
-
Constructor Details
-
UnixFSTemporaryResourceContents
-
-
Method Details
-
read
Description copied from interface:ResourceContents
Reads from the channel.- Specified by:
read
in interfaceResourceContents
- Returns:
- the
ReadableByteChannel
to read the contents - Throws:
IOException
- if there was an error reading the underlying contents
-
tryWrite
Description copied from interface:ResourceContents
Writes to the channel. Returning an empty Optional if not supported.- Specified by:
tryWrite
in interfaceResourceContents
- Returns:
- the
ReadableByteChannel
to read the contents - Throws:
IOException
- if there was an error writing the underlying contents
-