|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxmlgp.XMLGP
public final class XMLGP
This class is the core for the XMLGP tool.
This class has the methods to serialize, deserialize and print XML.
Constructor Summary | |
---|---|
XMLGP()
|
Method Summary | |
---|---|
static Project |
deserializeFromFile(java.lang.String inputXmlFileName)
Loads XML from an input file, converts XML into project object and returns the object. |
static Project |
deserializeFromStream(java.io.DataInputStream dataInputStream)
Loads XML from the input stream, converts that into project object and returns the object. |
static void |
printGPResults(Project project)
Prints project object which holds the XML content. |
static void |
serializeToFile(Project project,
java.lang.String outputXmlFileName)
Serializes the XML content to the file. |
static void |
serializeToStream(Project project)
Serializes the XML content to the stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLGP()
Method Detail |
---|
public static Project deserializeFromStream(java.io.DataInputStream dataInputStream)
dataInputStream
- input data stream which has XML content
public static Project deserializeFromFile(java.lang.String inputXmlFileName)
inputXmlFileName
- the name of the input XML file
public static void serializeToStream(Project project)
project
- the object which is the holder for the content of XMLpublic static void serializeToFile(Project project, java.lang.String outputXmlFileName)
project
- the object which is the holder for the content of XMLoutputXmlFileName
- the name of the output XML filepublic static void printGPResults(Project project)
project
- the object which is the holder for the content of XML
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |