A write only standard file on a file system which is written as bytes. More...
#include <FileByteWriteResource.hpp>
Public Member Functions | |
FileByteWriteResource (const File &file_) | |
Create a new file byte write resource from the supplied file URI. More... | |
void | close () override |
Close the stream(s) in the resource. More... | |
const File & | getFile () const |
Get the file URI. More... | |
const Uri & | uri () const override |
Get the URI associated with this resource. More... | |
std::ostream & | writeStream () override |
Get the output stream of the byte write resource. More... | |
Public Member Functions inherited from Resource | |
virtual | ~Resource ()=default |
Destroy the resource instance. More... | |
A write only standard file on a file system which is written as bytes.
|
explicit |
Create a new file byte write resource from the supplied file URI.
|
inlineoverridevirtual |
Close the stream(s) in the resource.
Implements Resource.
const File& getFile | ( | ) | const |
Get the file URI.
|
overridevirtual |
Get the URI associated with this resource.
Implements Resource.
|
inlineoverridevirtual |
Get the output stream of the byte write resource.
Implements ByteWriteResource.