| org.cougaar.tools.csmart.core.cdata.ComponentDataXML org.cougaar.tools.csmart.experiment.ExperimentXML
ExperimentXML | public class ExperimentXML extends ComponentDataXML (Code) | | ExperimentXML.java
Allows the conversion of an Experiment to XML and from XML to
an Experiment ComponentData (Host / Node / Agent mapping)
Created: Wed Jun 5 11:38:56 2002
|
Method Summary | |
public void | createExperimentFile(ComponentData data, File configDir) Creates an Experiment XML file from a ComponentData object. | public static void | main(String[] args) | public ComponentData | parseExperimentFile(File file) Parses the specified file into and Experiment ComponentData.
An Experiment ComponentData contains no detailed Agent information.
Just Host, Node, Agent mappings.
Parameters: file - - Handle to file to parse. |
ExperimentXML | public ExperimentXML()(Code) | | |
createExperimentFile | public void createExperimentFile(ComponentData data, File configDir)(Code) | | Creates an Experiment XML file from a ComponentData object.
Parameters: data - ComponentData to convert into XML Parameters: configDir - - Directory to store file. |
parseExperimentFile | public ComponentData parseExperimentFile(File file)(Code) | | Parses the specified file into and Experiment ComponentData.
An Experiment ComponentData contains no detailed Agent information.
Just Host, Node, Agent mappings.
Parameters: file - - Handle to file to parse. a ComponentData value |
|
|