37 "desc":
"the encoding of the file's data (read / write)",
42 "desc":
"maximum length of files (read / write)",
52 "default_value": 60000,
53 "desc":
"the default I/O timeout for stream operations, default is 60 seconds",
57 "default_value": False,
58 "desc":
"if True then the stream will be opened in nonblocking mode (default False)",
68 "default_value": False,
69 "desc":
"if true the file will be appended, otherwise it will be truncated (the default)",
73 "default_value": 0644,
74 "desc":
"file permissions (default: 0664)",
159 writeFileImpl(
string scheme,
string location, data contents, *hash<auto> opts);
The abstract file location handler class.
Definition: FileLocationHandler.qc.dox.h:53
The class for handling "file://" locations.
Definition: FileLocationHandlerFile.qc.dox.h:28
const FileLocationWriteOpts
Valid file location write options.
Definition: FileLocationHandlerFile.qc.dox.h:65
hash< string, hash< FileHandlerOptionInfo > > getWriteOptionsImpl()
Gets supported write options.
Qore::AbstractPollOperation getIoPollerForLocationImpl(string scheme, string location, *hash< auto > opts)
Retrieves an I/O poller to retrieve a binary file from the given location.
const FileLocationReadOpts
Valid common file location options.
Definition: FileLocationHandlerFile.qc.dox.h:49
hash< string, hash< FileHandlerOptionInfo > > getReadOptionsImpl()
Gets supported read options.
Qore::StreamReader getStreamReaderImpl(string scheme, string location, *hash< auto > opts)
Returns a stream reader for the file's data at the given location.
binary getBinaryFileImpl(string scheme, string location, *hash< auto > opts)
Retrieves a binary file from the given location.
const FileLocationOpts
Valid common file location options.
Definition: FileLocationHandlerFile.qc.dox.h:34
string getTextFileImpl(string scheme, string location, *hash< auto > opts)
Retrieves a text file from the given location.
Qore::InputStream getBinaryStreamImpl(string scheme, string location, *hash< auto > opts)
Retrieves a binary file from the given location.
OutputStreamWrapper getOutputStreamImpl(string scheme, string location, *hash< auto > opts)
Returns an output stream for writing data to the given location.
writeFileImpl(string scheme, string location, data contents, *hash< auto > opts)
Writes data to a file at the given location.
The abstract file location handler class.
Definition: OutputStramWrapper.qc.dox.h:28
Contains all public definitions in the FileLocationHandler module.
Definition: FileLocationHandler.qc.dox.h:26
File handler option info.
Definition: FileLocationHandler.qc.dox.h:28