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 voidRead 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-InputStreamof the XML file.- Throws:
IOException- if failed to read the XML file.ParserConfigurationException- if parse errors occur.SAXException- theDocumentBuildercannot be created.
-