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 binary, indicating that the bytes in the source file should be read without interpreting the character set.
If this value is changed to empty, the character encoding will be automatically detected from the file if there is a Byte Order Marker (BOM). 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.
Usually, the binary value is desirable for reading binary files. Consider using the Text File reader to read text files.