Class DefaultBackupXmlParser

java.lang.Object
com.atlassian.jira.imports.xml.DefaultBackupXmlParser
All Implemented Interfaces:
BackupXmlParser

public class DefaultBackupXmlParser extends Object implements BackupXmlParser
Since:
v3.13
  • Constructor Details

  • Method Details

    • parseOfBizBackupXml

      public void parseOfBizBackupXml(String fileName, DefaultHandler handler) throws IOException, SAXException
      Description copied from interface: BackupXmlParser
      Uses a SAXParser to parse the given file using the given SAX DefaultHandler. If this is a zip file, it will extract the
      invalid reference
      com.atlassian.jira.bc.dataimport.DefaultExportService.ENTITIES_XML
      entry.
      Specified by:
      parseOfBizBackupXml in interface BackupXmlParser
      Parameters:
      fileName - Path name of the XML Backup file.
      handler - A SAX DefaultHandler to handle the SAX events.
      Throws:
      IOException - If on IO Exception occurs
      SAXException - If any SAX errors occur during processing.
    • parseAoBackupXml

      public void parseAoBackupXml(String fileName, DefaultHandler handler) throws IOException, SAXException
      Description copied from interface: BackupXmlParser
      Uses a SAXParser to parse the given file using the given SAX DefaultHandler. If this is a zip file, it will extract the
      invalid reference
      com.atlassian.jira.bc.dataimport.DefaultExportService.ACTIVEOBJECTS_XML
      entry.
      Specified by:
      parseAoBackupXml in interface BackupXmlParser
      Parameters:
      fileName - Path name of the XML Backup file.
      handler - A SAX DefaultHandler to handle the SAX events.
      Throws:
      IOException - If on IO Exception occurs
      SAXException - If any SAX errors occur during processing.