public class ObjectMapWriter extends XMLWorker
| Constructor and Description |
|---|
ObjectMapWriter(java.lang.String xmlFile,
boolean append)
Create a new instance of the ObjectMapWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writePOPCPPEntry(java.lang.String parclass,
java.lang.String path,
java.lang.String arch)
Add a entry in the XML file for a POP-C++ executable file
|
void |
writePOPJavaEntries(java.util.ArrayList<java.lang.String> parclasses,
java.lang.String path)
Add entries into the XML file
|
void |
writePOPJavaEntry(java.lang.String parclass,
java.lang.String path)
Write a single entry of POP-Java type
|
void |
writeToConsole() |
void |
writeToFile()
Write all the changes to the file
|
public ObjectMapWriter(java.lang.String xmlFile,
boolean append)
throws java.lang.Exception
xmlFile - location of the XML fileappend - Set to true if the new entries must be added to the current onejava.lang.Exception - Thrown if anything go wrong in the processpublic void writePOPJavaEntries(java.util.ArrayList<java.lang.String> parclasses,
java.lang.String path)
throws java.lang.Exception
parclasses - Array of the parallel classes namepath - Path of the .jar filejava.lang.Exception - Thrown if the process go wrongpublic void writePOPJavaEntry(java.lang.String parclass,
java.lang.String path)
parclass - Name of the parallel classpath - Path of the .class or .jar filepublic void writePOPCPPEntry(java.lang.String parclass,
java.lang.String path,
java.lang.String arch)
parclass - Name of the parallel classpath - Path of the executable filearch - Architecture of the executablepublic void writeToFile()
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException - Thrown if the tranformation from the DOM document to the string
file go wrongpublic void writeToConsole()
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException