evaHelper
Class EvaWriter

java.lang.Object
  extended by evaHelper.EvaWriter

public class EvaWriter
extends java.lang.Object

This class is used for parsing XML files and outputting them in specific formats Usage Scenario: 1. XML file with the log info 2. EvaWriter reads the XML file and output it to CSV, GraphML or other format that is convenient for the evaluator Reference: http://java.sun.com/developer/technicalArticles/xml/JavaTechandXML/


Constructor Summary
EvaWriter()
           
 
Method Summary
static void FTBDebug(java.lang.String msg)
          My debug messages
static void p(java.lang.Object o)
          Lazy printing
static void pln(java.lang.Object o)
          Lazy printing
static java.io.File printCSVDataAsGraphMLToFile(java.lang.String csvFile, java.lang.String outputGraphMLFile)
          Reads a CSV file and outputs the data as a GraphML file which are the nodes? lines connecting vary in length depending on time length?
static void printXMLDataAsCSVFile(java.lang.String xmlFile, java.lang.String outputCSVFile)
          Reads an XML file and outputs the data as a CSV file TAGS - output as header DATA - output as elements in each row
static void printXMLDataToScreen(java.lang.String xmlFile)
          Reads an XML file and prints the data to screen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaWriter

public EvaWriter()
Method Detail

printXMLDataToScreen

public static void printXMLDataToScreen(java.lang.String xmlFile)
Reads an XML file and prints the data to screen

Parameters:
filename -

printXMLDataAsCSVFile

public static void printXMLDataAsCSVFile(java.lang.String xmlFile,
                                         java.lang.String outputCSVFile)
Reads an XML file and outputs the data as a CSV file TAGS - output as header DATA - output as elements in each row

Parameters:
xmlFile -
outputCSVFile -

printCSVDataAsGraphMLToFile

public static java.io.File printCSVDataAsGraphMLToFile(java.lang.String csvFile,
                                                       java.lang.String outputGraphMLFile)
Reads a CSV file and outputs the data as a GraphML file which are the nodes? lines connecting vary in length depending on time length?

Parameters:
xmlFile -
graphMLFile -

FTBDebug

public static void FTBDebug(java.lang.String msg)
My debug messages

Parameters:
msg -

p

public static void p(java.lang.Object o)
Lazy printing

Parameters:
o -

pln

public static void pln(java.lang.Object o)
Lazy printing

Parameters:
o -