@NotThreadSafe public final class IMFErrorLoggerImpl extends java.lang.Object implements IMFErrorLogger
IMFErrorLogger.IMFErrors
ErrorLogger.ErrorObject
Constructor and Description |
---|
IMFErrorLoggerImpl()
Instantiates a new IMF error logger impl object
|
Modifier and Type | Method and Description |
---|---|
void |
addError(IMFErrorLogger.IMFErrors.ErrorCodes errorCode,
IMFErrorLogger.IMFErrors.ErrorLevels errorLevel,
java.lang.String errorDescription)
A method to add error objects to a persistent list
|
java.util.List<ErrorLogger.ErrorObject> |
getErrors()
Getter for the error messages
|
int |
getNumberOfErrors()
Getter for the number of errors that were detected while reading the MXF file
|
public IMFErrorLoggerImpl()
public void addError(IMFErrorLogger.IMFErrors.ErrorCodes errorCode, IMFErrorLogger.IMFErrors.ErrorLevels errorLevel, java.lang.String errorDescription)
addError
in interface IMFErrorLogger
errorCode
- - error code corresponding to the errorerrorLevel
- - error level of the errorerrorDescription
- - the error descriptionpublic int getNumberOfErrors()
getNumberOfErrors
in interface ErrorLogger
public java.util.List<ErrorLogger.ErrorObject> getErrors()
ErrorLogger
getErrors
in interface IMFErrorLogger
getErrors
in interface ErrorLogger