Class MetaDataUtil


  • public class MetaDataUtil
    extends Object
    • Constructor Detail

      • MetaDataUtil

        public MetaDataUtil()
    • Method Detail

      • generateColumnNames

        public static String[] generateColumnNames​(Object[][] columnHeaders,
                                                   Object[][] rowHeaders,
                                                   String[] rowHeaderNames,
                                                   String columnNameFormatStr)
        Generates a set of column names given column headers, row headers (optional), row header names (optional) and a format string for the column headers. The number of column names returned will be equal to the number of row headers in the first row of row headers and the number of columns in the first row of column headers. It is assumed that the row and column headers arrays are not ragged. The row headers can be null. The format string can be null.
        Parameters:
        columnHeaders -
        rowHeaders -
        rowHeaderNames -
        columnNameFormatStr -
        Returns: