Class ProteinModificationXmlReader


  • public final class ProteinModificationXmlReader
    extends java.lang.Object
    Since:
    3.0
    Author:
    Jianjiong Gao
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerProteinModificationFromXml​(java.io.InputStream isXml)
      Read protein modifications from XML file and register them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerProteinModificationFromXml

        public static void registerProteinModificationFromXml​(java.io.InputStream isXml)
                                                       throws java.io.IOException,
                                                              javax.xml.parsers.ParserConfigurationException,
                                                              org.xml.sax.SAXException
        Read protein modifications from XML file and register them.
        Parameters:
        isXml - InputStream of the XML file.
        Throws:
        java.io.IOException - if failed to read the XML file.
        javax.xml.parsers.ParserConfigurationException - if parse errors occur.
        org.xml.sax.SAXException - the DocumentBuilder cannot be created.