Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The property is used to specify if the input file which is being read is binary or a flat file.

  • If enabled, the contents of the input binary file are read as binary data and are sent to the output port in chunks whose size, in bytes, is specified

    through

    in the property Chunk size.

    Note

    The Chunk Size property (see the section below) is visible only when Is file Binary? property is enabled.

  • If disabled, the contents of the target file are read in an unstructured fashion and the content is sent to the output port as a single message.

    Note

    Two properties - Line Count and Header Count (explained in the following sections) will be visible when the Is file Binary? property is disabled.

Chunk size (bytes)

When the input file being read is binary, you can choose to receive the contents read from the file in chunks of binary data at the output ports. The size of these chunks (in bytes) can be specified in this property. When the chunk size is specified as 0 bytes, the whole file is read in a single run. 

The number of output messages received = ceil (Size of File / Chunk size). The last output message received can be identified by the value of the property COMPLETE in its message headers. Refer Table 1 for information on message headers.

Note

Line Count, Header Count, and Chunk size properties are The Chunk Size property is visible only when Is file Binary? property  property is disabledenabled.

FileReader Configuration

Click the Ellipsis button to configure the directories in which different files have to be saved.

...

Note
  • Either an absolute path or a path relative to the directory specified in the Compute Paths relative to Directory can be provided.
  • If this directory does not exist, FileReader creates it while processing the input message.
  • FileReader requires write permissions on Working and Error Directories.
Line Count

With this property the The input file will be read in blocks of lines, specified by the "line count" property and each block will be sent as output.

Note

Line Count property will be visible only when Is file Binary? property is disabled.

Header Count

The count of lines at the beginning of the file that must be skipped while reading the file. Used when the starting lines of the files are headers.

Note

Header Count property will be visible only when Is file Binary? property is disabled.

File Encoding


Figure 6: Different types of File Encoding

...

Adaptavist ThemeBuilder EngineAtlassian Confluence