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
  • Constructor Details

    • RowFormatter

      public RowFormatter(String[] h)
  • Method Details

    • 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