Package com.atlassian.jira.imports.xml
Class DefaultBackupXmlParser
java.lang.Object
com.atlassian.jira.imports.xml.DefaultBackupXmlParser
- All Implemented Interfaces:
BackupXmlParser
- Since:
- v3.13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparseAoBackupXml(String fileName, DefaultHandler handler) Uses a SAXParser to parse the given file using the given SAX DefaultHandler.voidparseOfBizBackupXml(String fileName, DefaultHandler handler) Uses a SAXParser to parse the given file using the given SAX DefaultHandler.
-
Constructor Details
-
DefaultBackupXmlParser
-
-
Method Details
-
parseOfBizBackupXml
public void parseOfBizBackupXml(String fileName, DefaultHandler handler) throws IOException, SAXException Description copied from interface:BackupXmlParserUses a SAXParser to parse the given file using the given SAX DefaultHandler. If this is a zip file, it will extract theentry.invalid reference
com.atlassian.jira.bc.dataimport.DefaultExportService.ENTITIES_XML- Specified by:
parseOfBizBackupXmlin interfaceBackupXmlParser- Parameters:
fileName- Path name of the XML Backup file.handler- A SAX DefaultHandler to handle the SAX events.- Throws:
IOException- If on IO Exception occursSAXException- If any SAX errors occur during processing.
-
parseAoBackupXml
public void parseAoBackupXml(String fileName, DefaultHandler handler) throws IOException, SAXException Description copied from interface:BackupXmlParserUses a SAXParser to parse the given file using the given SAX DefaultHandler. If this is a zip file, it will extract theentry.invalid reference
com.atlassian.jira.bc.dataimport.DefaultExportService.ACTIVEOBJECTS_XML- Specified by:
parseAoBackupXmlin interfaceBackupXmlParser- Parameters:
fileName- Path name of the XML Backup file.handler- A SAX DefaultHandler to handle the SAX events.- Throws:
IOException- If on IO Exception occursSAXException- If any SAX errors occur during processing.
-