Package com.nt.udc.node.util
Class COSARReporter
java.lang.Object
com.nt.udc.node.util.COSARReporter
This class is used to report information on processed NARs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
This member represents the number of OSARs, during the processing of which resulted in errors.protected String
This member represents the name of the file currently being processed.protected LoggerIfc
This member is used to output errors, warnings and info.protected int
This member represents the number of sucessfully processed OSARs.protected int
This member represents the number of skipped OSARs.protected long
This member is used to time processing -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This function is called when all the OSARs in a data-source file have been processed.protected void
void
void
void
void
This function is used to issue a statistic on the OSARs processed for a file.void
This function is called when a new data-source file is opened for processing OSARs.
-
Field Details
-
m_iLogger
This member is used to output errors, warnings and info. -
m_filename
This member represents the name of the file currently being processed. -
m_processedOSARs
protected int m_processedOSARsThis member represents the number of sucessfully processed OSARs. -
m_skippedOSARs
protected int m_skippedOSARsThis member represents the number of skipped OSARs. -
m_errorOSARs
protected int m_errorOSARsThis member represents the number of OSARs, during the processing of which resulted in errors. -
m_startProcessingFileTime
protected long m_startProcessingFileTimeThis member is used to time processing
-
-
Constructor Details
-
COSARReporter
-
-
Method Details
-
startFile
This function is called when a new data-source file is opened for processing OSARs. -
endFile
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
-