org.gridbus.broker.xpml
Class InputReader
java.lang.Object
|
+--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)
|
Method Summary |
static java.util.Vector |
getJobs()
|
static 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 |
InputReader
public InputReader()
parsePlan
public static 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 static java.util.Vector getJobs()
- Returns:
- Returns the jobs.