org.gridbus.broker.plan
Class InputReader

java.lang.Object
  extended byorg.gridbus.broker.plan.InputReader

public class InputReader
extends java.lang.Object

This class has methods to convert a plan file into an xml file, and return jobs by parsing the xml.

Author:
Ding Choon Hoong (chd@students.cs.mu.oz.au)

Constructor Summary
InputReader()
           
 
Method Summary
static java.util.Vector readPlan(java.lang.String planFile)
          This function converts a plan file into an XML and parses it, to return a collection of jobs from it.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputReader

public InputReader()
Method Detail

readPlan

public static java.util.Vector readPlan(java.lang.String planFile)
                                 throws org.jaxen.JaxenException,
                                        java.net.MalformedURLException,
                                        org.dom4j.DocumentException
This function converts a plan file into an XML and parses it, to return a collection of jobs from it.

Parameters:
planFile -
Returns:
collection of jobs
Throws:
org.jaxen.JaxenException
org.dom4j.DocumentException
java.net.MalformedURLException