Package org.biojava.nbio.protmod.io
Class ProteinModificationXmlReader
java.lang.Object
org.biojava.nbio.protmod.io.ProteinModificationXmlReader
- Since:
- 3.0
- Author:
- Jianjiong Gao
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Read protein modifications from XML file and register them.
-
Method Details
-
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.
-