Called to process the header line of each file. Returns true if it was the first header line processed (used when reading multiple files).
Called to process non-header lines.
Called after initializing the object for each operator to be processed.
Called to write the result lines.
Called to write the header line.
A Summarizer object maintains the state of the summarization and performs basic processing. Handling of files and input lines is left to the caller.
Classes supporting the Summarizer must implement the methods: - setOperators - Called after initializing the object for each operator to be processed. - processHeaderLine - Called to process the header line of each file. Returns true if it was the first header line processed (used when reading multiple files). - processNextLine - Called to process non-header lines. - writeSummaryHeader - Called to write the header line. - writeSummaryBody - Called to write the result lines.