public class DefaultBackupXmlParser extends Object implements BackupXmlParser
Constructor and Description |
---|
DefaultBackupXmlParser(ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
void |
parseAoBackupXml(String fileName,
org.xml.sax.helpers.DefaultHandler handler)
Uses a SAXParser to parse the given file using the given SAX DefaultHandler.
|
void |
parseOfBizBackupXml(String fileName,
org.xml.sax.helpers.DefaultHandler handler)
Uses a SAXParser to parse the given file using the given SAX DefaultHandler.
|
public DefaultBackupXmlParser(ApplicationProperties applicationProperties)
public void parseOfBizBackupXml(String fileName, org.xml.sax.helpers.DefaultHandler handler) throws IOException, SAXException
BackupXmlParser
com.atlassian.jira.bc.dataimport.DefaultExportService.ENTITIES_XML
entry.parseOfBizBackupXml
in interface BackupXmlParser
fileName
- Path name of the XML Backup file.handler
- A SAX DefaultHandler to handle the SAX events.FileNotFoundException
- If the given file does not exist.IOException
- If on IO Exception occursSAXException
- If any SAX errors occur during processing.public void parseAoBackupXml(String fileName, org.xml.sax.helpers.DefaultHandler handler) throws IOException, SAXException
BackupXmlParser
com.atlassian.jira.bc.dataimport.DefaultExportService.ACTIVEOBJECTS_XML
entry.parseAoBackupXml
in interface BackupXmlParser
fileName
- Path name of the XML Backup file.handler
- A SAX DefaultHandler to handle the SAX events.FileNotFoundException
- If the given file does not exist.IOException
- If on IO Exception occursSAXException
- If any SAX errors occur during processing.Copyright © 2002-2019 Atlassian. All Rights Reserved.