Data File Reader Parameters
Dataset Parameters
This parameter allows you to choose different naming schemes, and the number of feature types generated for the reader.
Feature type name choices:
- From File Name(s) – Generates one feature type per source filename.
- From Format Name – Produces only a single feature type containing the format name.
Reader Parameters
Specifies whether the entire input file should be read into a single attribute on a single feature instead of producing a feature per line.
This method preserves the exact contents of the file, including line separators, end-of-file (EOF) markers, etc.
When set to Yes, the input file is read backwards, from the end of the file to the top. This feature is useful when only a few features from the end of a large file are required for reading.
This option is ignored if Read Whole File at Once is set to Yes.
This parameter is used to set the number of lines to skip at the top of the file. By default, no lines are skipped. Each line skipped is logged to the log file. This option is useful if the file contains header lines of descriptive material that should be skipped.
This parameter is ignored if Read Whole File at Once is set to Yes.
If Read Bottom Up is set to Yes, the lines are skipped from the end of the file instead.
This parameter is used to set the number of footer lines to skip at the bottom of the file. By default, no footer lines are skipped. Each footer line skipped is logged to the log file. This option is useful if the file contains footer lines of descriptive material that should be skipped.
This parameter is ignored if Read Whole File at Once is set to Yes.
If Read Bottom Up is set to Yes, the lines are skipped from the top of the file instead.
File Contents
The default value is fme-binary, indicating that the bytes in the source file should be read without interpreting the character set.
By default, the character encoding will be automatically detected from the source file if there is a Byte Order Mark (BOM) present in the source file. Otherwise, all input strings will be encoded in the system encoding. If you select any other character encoding, it will take precedence over the automatically detected character encoding.
Note that only UTF encodings are identified using the BOM – all other character sets must be explicitly identified or they will be read as system encoding.