Package org.biojava.nbio.protmod.io
Class ProteinModificationXmlReader
- java.lang.Object
-
- org.biojava.nbio.protmod.io.ProteinModificationXmlReader
-
public final class ProteinModificationXmlReader extends Object
- Since:
- 3.0
- Author:
- Jianjiong Gao
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
registerProteinModificationFromXml(InputStream isXml)
Read protein modifications from XML file and register them.
-
-
-
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
- theDocumentBuilder
cannot be created.
-
-