public String getFormattedRow(String[] originalRow) {
		int length = fields.size();
		String[] updatedRow = new String[length ];

		for (int i = 0; i < length; i++) {
			if (i >= originalRow.length || originalRow[i] == null) {
				updatedRow[i] = BLANK_STRING;
			} else {
				updatedRow[i] = originalRow[i];
			}
		}

		return getFormattedString(updatedRow);
	}
Format row data for number of fields
Replace null with empty string
Ignore rows which doesnot have fields

@param originalRow - String array
@return formatted row as String
commons/src/main/java/io/hyscale/commons/logger/TableFormatter.java