public class DefaultBackupXmlParser extends Object implements BackupXmlParser
Constructor and Description |
---|
DefaultBackupXmlParser(ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
void |
parseBackupXml(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 parseBackupXml(String fileName, org.xml.sax.helpers.DefaultHandler handler) throws IOException, SAXException
BackupXmlParser
parseBackupXml
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-2015 Atlassian. All Rights Reserved.