org.mule.module.launcher
Class SimpleLoggingTable

java.lang.Object
  extended by org.mule.module.launcher.SimpleLoggingTable

public class SimpleLoggingTable
extends Object

Provides a simple table implementation useful to log information in a tabular form.


Field Summary
protected static String NEW_LINE
           
 
Constructor Summary
SimpleLoggingTable()
           
 
Method Summary
 void addColumn(String title, int size)
          Adds a new column to the table.
 void addDataRow(String[] dataRow)
          Adds a new row of data into the table.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEW_LINE

protected static final String NEW_LINE
Constructor Detail

SimpleLoggingTable

public SimpleLoggingTable()
Method Detail

addColumn

public void addColumn(String title,
                      int size)
Adds a new column to the table.

Parameters:
title - column title that will be displayed in the table header
size - the size of the column

addDataRow

public void addDataRow(String[] dataRow)
Adds a new row of data into the table.

Parameters:
dataRow - the data to be added. DataRow must contain a value for each declared column.

toString

public String toString()
Overrides:
toString in class Object


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