Choosing a parser

To read the data from the input files, you need to configure a parser. When one parser reads all input files, this configuration is done fairly easy.

About this task

Configure a parser component to read the input file contents.

Procedure

  1. In the file <PathToYourApplication>/config/config.cfg, find the ite.ingest.customFileTypeValidator parameter description
  2. When you do not need to route different file types to different parsers, you make sure that the type validator is turned off as follows: ite.ingest.customFileTypeValidator=off

  3. In the file <PathToYourApplication>/config/config.cfg, find the ite.ingest.reader.parserList parameter description

  4. Assign the parameter a file type identifier that is combined with a parser class name, for example: ite.ingest.reader.parserList=*|FileReaderCustom

The values that are used for the parameters are in fact their default values. So to achieve the same result as in the description it would be sufficient to ensure that these parameters are not actively used in your configuration file. When the wizard creates the ITE project for you, it provides a FileReaderCustom implementation, too. You need to customize the reader, first by selecting a parser to derive from your implementation. Then, by setting the parser’s parameters according to your use case.