/** * Create a cell, and give it a value. * *@param row the row to create the cell in *@param column the column index to create the cell in *@param value The value of the cell *@return A new HSSFCell. */ public static HSSFCell createCell(HSSFRow row, int column, String value) { return createCell( row, column, value, null ); }
/** * Create a cell, and give it a value. * *@param row the row to create the cell in *@param column the column index to create the cell in *@param value The value of the cell *@return A new HSSFCell. */ public static HSSFCell createCell(HSSFRow row, int column, String value) { return createCell( row, column, value, null ); }
private void toExcelRow(final List<String> rowValues, final HSSFRow row, final boolean ignoreFirstValue) { int column = 0; for (int i = ignoreFirstValue ? 1 : 0; i < rowValues.size(); i++) { final String value = rowValues.get(i); HSSFCellUtil.createCell(row, column++, cleanLabelwrapper(value)); } }