com.sun.enterprise.admin.util
Class RowFormatter
java.lang.Object
com.sun.enterprise.admin.util.RowFormatter
public class RowFormatter
- extends Object
This is a utility class which will be used
to format data where tabular formats cannot be used
- Author:
- Bhakti Mehta
|
Method Summary |
String |
addColumn(Object[] objs)
This will return a String of the format
HEADING1 :value1
HEADING2 :value 2 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowFormatter
public RowFormatter(String[] h)
addColumn
public String addColumn(Object[] objs)
- This will return a String of the format
HEADING1 :value1
HEADING2 :value 2
- Parameters:
objs - : The values which are to be displayed
- Returns:
- The String containing the formatted headings and values
Copyright © 2012. All Rights Reserved.