Class COMLineParser


  • public class COMLineParser
    extends MZTabLineParser
    Comment line parser. Comment lines can be placed anywhere in an mzTab file. These lines must start with the three-letter code COM and are ignored by most parsers. Empty lines can also occur anywhere in an mzTab file and are ignored.
    Since:
    10/02/13
    Author:
    qingwei
    See Also:
    MZTabLineParser
    • Method Detail

      • parse

        public void parse​(int lineNumber,
                          String line,
                          uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorList errorList)
                   throws uk.ac.ebi.pride.jmztab2.utils.errors.MZTabException
        We assume that user before call this method, have parse the raw line is not empty line and start with section prefix.
        Overrides:
        parse in class MZTabLineParser
        Parameters:
        lineNumber - a int.
        line - a String object.
        errorList - a MZTabErrorList object.
        Throws:
        uk.ac.ebi.pride.jmztab2.utils.errors.MZTabException - if any.
      • getComment

        public de.isas.mztab2.model.Comment getComment()

        getComment.

        Returns:
        a Comment object.