edu.usc.bg.measurements
Class StatsPrinter

java.lang.Object
  extended by edu.usc.bg.measurements.StatsPrinter

public class StatsPrinter
extends java.lang.Object

Write human readable text. Tries to emulate the previous print report method.


Constructor Summary
StatsPrinter(java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void write(java.lang.String line)
           
 void write(java.lang.String metric, java.lang.String measurement, double d)
           
 void write(java.lang.String metric, java.lang.String measurement, int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsPrinter

public StatsPrinter(java.io.OutputStream out)
Method Detail

write

public void write(java.lang.String metric,
                  java.lang.String measurement,
                  int i)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.lang.String metric,
                  java.lang.String measurement,
                  double d)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.lang.String line)
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException