Package org.biojava.nbio.protmod.io
Class ProteinModificationXmlReader
- java.lang.Object
-
- org.biojava.nbio.protmod.io.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.
-
-
-
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
- theDocumentBuilder
cannot be created.
-
-