spec.reporter
Class HTMLWriter

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

public class HTMLWriter
extends Writer


Field Summary
 
Fields inherited from class spec.reporter.Writer
fos, stream
 
Constructor Summary
HTMLWriter(java.lang.String outputFileName)
           
 
Method Summary
 void endAndStartData()
           
 void endAndStartRecordAndData()
           
 void endRecordAndData()
           
 void endReport()
           
 void endTable()
           
 void endTable(boolean putOnlyTable)
           
 java.lang.String getCopyRightSign()
           
 void handleBenchmarkRecord(BenchmarkRecord record)
           
 void insertRecord(java.lang.String prop, java.lang.String value)
           
 void insertRecords(java.util.ArrayList al)
           
 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()
           
 void startRecordAndData()
           
 void startReport()
           
 void startTable(java.lang.String header, boolean needHeader)
           
 void startTable(java.lang.String header, boolean isBorderVisible, boolean needHeader, boolean putOnlyTableTag)
           
 
Methods inherited from class spec.reporter.Writer
closeStream, getInstance, getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLWriter

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

startTable

public void startTable(java.lang.String header,
                       boolean isBorderVisible,
                       boolean needHeader,
                       boolean putOnlyTableTag)
Overrides:
startTable in class Writer

startTable

public void startTable(java.lang.String header,
                       boolean needHeader)
Overrides:
startTable in class Writer

startDetailsTable

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

insertRecord

public void insertRecord(java.lang.String prop,
                         java.lang.String value)
Specified by:
insertRecord 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

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

startRecordAndData

public void startRecordAndData()
Overrides:
startRecordAndData in class Writer

endRecordAndData

public void endRecordAndData()
Overrides:
endRecordAndData in class Writer

endAndStartRecordAndData

public void endAndStartRecordAndData()
Overrides:
endAndStartRecordAndData in class Writer

endAndStartData

public void endAndStartData()
Overrides:
endAndStartData in class Writer

endTable

public void endTable()
Overrides:
endTable in class Writer

endTable

public void endTable(boolean putOnlyTable)
Overrides:
endTable in class Writer

handleBenchmarkRecord

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

insertRecords

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

startReport

public void startReport()
Overrides:
startReport in class Writer

endReport

public void endReport()
Overrides:
endReport in class Writer

getCopyRightSign

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