project35.soa.alerts
Class AlertsBundleReader

java.lang.Object
  extended by project35.soa.alerts.AlertsBundleReader

public class AlertsBundleReader
extends java.lang.Object

reads an alerts bundle that is expressed as a ZIP file. Each Zip file contains an XML file for each Alert stored in the bundle.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
AlertsBundleReader()
           
 
Method Summary
 java.util.ArrayList getAlerts()
           
 void readFile(java.io.File zipFile)
           
 void readFile(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertsBundleReader

public AlertsBundleReader()
Method Detail

getAlerts

public java.util.ArrayList getAlerts()

readFile

public void readFile(java.net.URL url)
              throws Project35Exception,
                     java.io.IOException,
                     javax.xml.parsers.ParserConfigurationException,
                     org.xml.sax.SAXException
Throws:
Project35Exception
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException

readFile

public void readFile(java.io.File zipFile)
              throws Project35Exception,
                     java.io.IOException,
                     javax.xml.parsers.ParserConfigurationException,
                     org.xml.sax.SAXException
Throws:
Project35Exception
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException