com.jeffpalm.graph.report
Class HtmlWriter

java.lang.Object
  extended by com.jeffpalm.graph.report.HtmlWriter

public class HtmlWriter
extends java.lang.Object


Field Summary
 java.lang.String benchmarkFrameName
           
 java.lang.String benchmarkIndexName
           
 java.lang.String benchmarksFrameName
           
 java.io.File commas_dir
           
 java.lang.String firstChartName
           
 java.lang.String firstName
           
 java.io.File html_dir
           
 java.io.File images_dir
           
 java.io.File template_dir
           
 boolean verbose
           
 
Constructor Summary
HtmlWriter()
           
 
Method Summary
protected  void check(java.io.File f)
           
protected static java.lang.String colorToHex(java.awt.Color c)
           
protected  void copy(java.io.File from, java.io.File to)
           
protected  void finish(java.io.BufferedReader in, java.io.PrintWriter out, java.io.File file)
           
protected  java.lang.String line(java.io.BufferedReader in)
           
protected  void log(java.lang.Object msg)
           
static void main(java.lang.String[] args)
           
protected static java.io.BufferedReader reader(java.io.File file)
           
protected static java.lang.String round(java.lang.String s, int places)
           
protected  void seek(java.lang.String seekTo, java.io.BufferedReader in, java.io.PrintWriter out)
           
protected  java.lang.String tag(java.io.File file)
           
 void write(java.lang.String[] args)
           
protected  java.io.PrintWriter writer(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

template_dir

public java.io.File template_dir

html_dir

public java.io.File html_dir

commas_dir

public java.io.File commas_dir

images_dir

public java.io.File images_dir

verbose

public boolean verbose

benchmarksFrameName

public java.lang.String benchmarksFrameName

benchmarkFrameName

public java.lang.String benchmarkFrameName

benchmarkIndexName

public java.lang.String benchmarkIndexName

firstName

public java.lang.String firstName

firstChartName

public java.lang.String firstChartName
Constructor Detail

HtmlWriter

public HtmlWriter()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

write

public void write(java.lang.String[] args)
           throws java.lang.Exception
Throws:
java.lang.Exception

copy

protected void copy(java.io.File from,
                    java.io.File to)
             throws java.lang.Exception
Throws:
java.lang.Exception

tag

protected java.lang.String tag(java.io.File file)

check

protected void check(java.io.File f)

finish

protected void finish(java.io.BufferedReader in,
                      java.io.PrintWriter out,
                      java.io.File file)
               throws java.lang.Exception
Throws:
java.lang.Exception

seek

protected void seek(java.lang.String seekTo,
                    java.io.BufferedReader in,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Throws:
java.lang.Exception

line

protected java.lang.String line(java.io.BufferedReader in)
                         throws java.lang.Exception
Throws:
java.lang.Exception

reader

protected static java.io.BufferedReader reader(java.io.File file)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

writer

protected java.io.PrintWriter writer(java.io.File file)
                              throws java.lang.Exception
Throws:
java.lang.Exception

log

protected void log(java.lang.Object msg)

colorToHex

protected static final java.lang.String colorToHex(java.awt.Color c)

round

protected static final java.lang.String round(java.lang.String s,
                                              int places)