org.biojava3.protmod.io
Class ProteinModificationXmlReader

java.lang.Object
  extended by org.biojava3.protmod.io.ProteinModificationXmlReader

public final class ProteinModificationXmlReader
extends Object

Since:
3.0
Author:
Jianjiong Gao

Method Summary
static void registerProteinModificationFromXml(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(InputStream isXml)
                                               throws IOException,
                                                      ParserConfigurationException,
                                                      SAXException
Read protein modifications from XML file and register them.

Parameters:
isXml - InputStream of the XML file.
Throws:
IOException - if failed to read the XML file.
ParserConfigurationException - if parse errors occur.
SAXException - the DocumentBuilder cannot be created.