Package de.isas.mztab2.io
Class MzTabValidatingWriter.WriteAndParseValidator
- java.lang.Object
-
- de.isas.mztab2.io.MzTabValidatingWriter.WriteAndParseValidator
-
- All Implemented Interfaces:
de.isas.lipidomics.mztab2.validation.Validator<de.isas.mztab2.model.MzTab>
- Enclosing class:
- MzTabValidatingWriter
public static class MzTabValidatingWriter.WriteAndParseValidator extends Object implements de.isas.lipidomics.mztab2.validation.Validator<de.isas.mztab2.model.MzTab>
A default validator implemenation that first writes and then parses the created temporary file, performing the parser checks.
-
-
Constructor Summary
Constructors Constructor Description WriteAndParseValidator(OutputStream outputStream, uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorType.Level level, int maxErrorCount)
Create a new instance of this validator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<de.isas.mztab2.model.ValidationMessage>
validate(de.isas.mztab2.model.MzTab mzTab)
-
-
-
Constructor Detail
-
WriteAndParseValidator
public WriteAndParseValidator(OutputStream outputStream, uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorType.Level level, int maxErrorCount)
Create a new instance of this validator.- Parameters:
outputStream
- the output stream to write to.level
- the error level for validation.maxErrorCount
- the maximum number of errors before an overflow exception while stop further processing.
-
-