com.atlassian.jira.imports.xml
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBackupXmlParser
public DefaultBackupXmlParser(ApplicationProperties applicationProperties)
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-2011 Atlassian. All Rights Reserved.