org.mule.management.stats.printers
Class AbstractTablePrinter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by org.mule.management.stats.printers.AbstractTablePrinter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Direct Known Subclasses:
CSVPrinter, HtmlTablePrinter, SimplePrinter, XMLPrinter

public class AbstractTablePrinter
extends PrintWriter

HtmlTablePrinter prints event processing stats as a HTML table


Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
AbstractTablePrinter(OutputStream out)
           
AbstractTablePrinter(Writer out)
           
 
Method Summary
protected  void getColumn(FlowConstructStatistics stats, String[] col)
           
 String[] getHeaders()
           
protected  int getRouterInfo(RouterStatistics stats, String[] col, int index)
           
protected  String[][] getTable(Collection stats)
           
 void print(Collection c)
           
 void print(Object obj)
           
 void print(String string)
           
 void println(Object obj)
           
 void println(String string)
           
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTablePrinter

public AbstractTablePrinter(Writer out)

AbstractTablePrinter

public AbstractTablePrinter(OutputStream out)
Method Detail

getHeaders

public String[] getHeaders()

getColumn

protected void getColumn(FlowConstructStatistics stats,
                         String[] col)

getRouterInfo

protected int getRouterInfo(RouterStatistics stats,
                            String[] col,
                            int index)

getTable

protected String[][] getTable(Collection stats)

print

public void print(Object obj)
Overrides:
print in class PrintWriter

println

public void println(Object obj)
Overrides:
println in class PrintWriter

print

public void print(Collection c)

println

public void println(String string)
Overrides:
println in class PrintWriter

print

public void print(String string)
Overrides:
print in class PrintWriter


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.