Class COSARReporter

java.lang.Object
com.nt.udc.node.util.COSARReporter

public class COSARReporter extends Object
This class is used to report information on processed NARs.
  • Field Details

    • m_iLogger

      protected LoggerIfc m_iLogger
      This member is used to output errors, warnings and info.
    • m_filename

      protected String m_filename
      This member represents the name of the file currently being processed.
    • m_processedOSARs

      protected int m_processedOSARs
      This member represents the number of sucessfully processed OSARs.
    • m_skippedOSARs

      protected int m_skippedOSARs
      This member represents the number of skipped OSARs.
    • m_errorOSARs

      protected int m_errorOSARs
      This member represents the number of OSARs, during the processing of which resulted in errors.
    • m_startProcessingFileTime

      protected long m_startProcessingFileTime
      This member is used to time processing
  • Constructor Details

    • COSARReporter

      public COSARReporter(LoggerIfc iLogger)
  • Method Details

    • startFile

      public void startFile(String filename)
      This function is called when a new data-source file is opened for processing OSARs.
    • endFile

      public void endFile(String filename)
      This function is called when all the OSARs in a data-source file have been processed.
    • reportOSARs

      public void reportOSARs()
      This function is used to issue a statistic on the OSARs processed for a file.
    • newProcessedOSAR

      public void newProcessedOSAR()
    • newSkippedOSAR

      public void newSkippedOSAR()
    • newErrorOSAR

      public void newErrorOSAR()
    • info

      protected void info(String msg)