read file()
This function read in a file.
The maximum file size is 4 MB. Trying to read in bigger files will lead to an error. Note: Setting system property "-Dhub.datawizard.filter.readFileMaxLength=512" allows you to increase the maximum size (here to 512 MB).
The data being read is cached. Subsequent calls of this function will use the data from there to prevent performance loss.
Parameters
Parameter |
Description |
a |
Relative or absolute file path and name. The file must exist and be readable, otherwise, the function will terminate with an error. Empty files are accepted. Note: When the same file is accessed repeatedly, the content is read from the cache to avoid performance loss. |
b |
(optional) Encoding that is used to read in the file. Default: "UTF8". |