com.sun.enterprise.admin.util
Class RowFormatter

java.lang.Object
  extended by com.sun.enterprise.admin.util.RowFormatter

public class RowFormatter
extends java.lang.Object

This is a utility class which will be used to format data where tabular formats cannot be used

Author:
Bhakti Mehta

Constructor Summary
RowFormatter(java.lang.String[] h)
           
 
Method Summary
 java.lang.String addColumn(java.lang.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
 

Constructor Detail

RowFormatter

public RowFormatter(java.lang.String[] h)
Method Detail

addColumn

public java.lang.String addColumn(java.lang.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 GlassFish Community. All Rights Reserved.