org.gridbus.broker.xpml
Class InputReader

java.lang.Object
  extended by org.gridbus.broker.xpml.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
 java.util.Vector getJobs()
           
 void parsePlan(java.lang.String planFile)
          This function converts a plan file into an XML and parses it, to create job and requirement objects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputReader

public InputReader()
Method Detail

parsePlan

public void parsePlan(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 create job and requirement objects

Parameters:
planFile -
Throws:
org.jaxen.JaxenException
org.dom4j.DocumentException
java.net.MalformedURLException

getJobs

public java.util.Vector getJobs()
Returns:
Returns the jobs.