Class 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 Detail

      • RowFormatter

        public RowFormatter​(String[] h)
    • Method Detail

      • 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