spec.reporter
Class PlainWriter

java.lang.Object
  extended by spec.reporter.Writer
      extended by spec.reporter.PlainWriter

public class PlainWriter
extends Writer


Field Summary
 
Fields inherited from class spec.reporter.Writer
fos, stream
 
Constructor Summary
PlainWriter(java.lang.String outputFileName)
           
 
Method Summary
 java.lang.String getCopyRightSign()
           
 void handleBenchmarkRecord(BenchmarkRecord record)
           
 void insertRecord(java.lang.String prop, java.lang.String value)
           
 void insertRecords(java.util.ArrayList violations)
           
 void putHat(java.lang.String runStatus, java.lang.String compositeScore, java.lang.String workloadName, java.lang.String category, java.lang.String hwVendor, java.lang.String jvmVendor, java.lang.String hwModel, java.lang.String jvmName, java.lang.String submitter, java.lang.String testDate, java.lang.String jvmVersion)
           
 void putSummaryTable(java.lang.String scoreString, java.util.TreeMap<java.lang.String,java.lang.Double> scores)
           
 void startDetailsTable()
           
 
Methods inherited from class spec.reporter.Writer
closeStream, endAndStartData, endAndStartRecordAndData, endRecordAndData, endReport, endTable, endTable, getInstance, getType, setType, startRecordAndData, startReport, startTable, startTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainWriter

public PlainWriter(java.lang.String outputFileName)
Method Detail

handleBenchmarkRecord

public void handleBenchmarkRecord(BenchmarkRecord record)
Specified by:
handleBenchmarkRecord in class Writer

insertRecord

public void insertRecord(java.lang.String prop,
                         java.lang.String value)
Specified by:
insertRecord in class Writer

putHat

public void putHat(java.lang.String runStatus,
                   java.lang.String compositeScore,
                   java.lang.String workloadName,
                   java.lang.String category,
                   java.lang.String hwVendor,
                   java.lang.String jvmVendor,
                   java.lang.String hwModel,
                   java.lang.String jvmName,
                   java.lang.String submitter,
                   java.lang.String testDate,
                   java.lang.String jvmVersion)
Specified by:
putHat in class Writer

putSummaryTable

public void putSummaryTable(java.lang.String scoreString,
                            java.util.TreeMap<java.lang.String,java.lang.Double> scores)
Specified by:
putSummaryTable in class Writer

startDetailsTable

public void startDetailsTable()
Specified by:
startDetailsTable in class Writer

insertRecords

public void insertRecords(java.util.ArrayList violations)
Specified by:
insertRecords in class Writer

getCopyRightSign

public java.lang.String getCopyRightSign()
Specified by:
getCopyRightSign in class Writer