com.atlassian.jira.imports.xml
Class DefaultBackupXmlParser

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

public class DefaultBackupXmlParser
extends Object
implements BackupXmlParser

Since:
v3.13

Constructor Summary
DefaultBackupXmlParser(ApplicationProperties applicationProperties)
           
 
Method Summary
 void parseBackupXml(String fileName, DefaultHandler handler)
          Uses a SAXParser to parse the given file using the given SAX DefaultHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBackupXmlParser

public DefaultBackupXmlParser(ApplicationProperties applicationProperties)
Method Detail

parseBackupXml

public void parseBackupXml(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.

Specified by:
parseBackupXml in interface BackupXmlParser
Parameters:
fileName - Path name of the XML Backup file.
handler - A SAX DefaultHandler to handle the SAX events.
Throws:
FileNotFoundException - If the given file does not exist.
IOException - If on IO Exception occurs
SAXException - If any SAX errors occur during processing.


Copyright © 2002-2009 Atlassian. All Rights Reserved.