Activating the compression parameter for file readers
Sometimes the input files you get are compressed and you need to extract them before processing. You enable the compression parameter of SPL’s base FileReader in the derived file readers of the framework.
About this task
Enable the compression parameter for a file reader family.
Procedure
- In the file <PathToYourApplication>/config/config.cfg, find the ite.ingest.reader.compression parameter description
-
Enable the compression parameter by assigning the base class names to this parameter, for example: ite.ingest.reader.compression=FileReaderASN1,FileReaderCSV
The configuration line activates the compression for all for file readers that derive from FileReaderASN1 and FileReaderCSV. If you have two readers that derive from the same base class, for example FileReaderASN1, it is enabled for both!