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:ResourceContentsReads from the channel.- Specified by:
readin interfaceResourceContents- Returns:
- the
ReadableByteChannelto read the contents - Throws:
IOException- if there was an error reading the underlying contents
-
tryWrite
Description copied from interface:ResourceContentsWrites to the channel. Returning an empty Optional if not supported.- Specified by:
tryWritein interfaceResourceContents- Returns:
- the
ReadableByteChannelto read the contents - Throws:
IOException- if there was an error writing the underlying contents
-