private void writeValue(String column, int line, String value, CellStyle style) {
        logger.debug("Writing: [{}] at line [{}] in column [{}]", value, line, column);
        final int colIndex = columns.indexOf(column);
        final Sheet sheet = workbook.getSheetAt(0);
        final Row row = sheet.getRow(line);
        Cell cell = row.getCell(colIndex);
        if (cell != null) {
            row.removeCell(cell);
        }
        cell = row.createCell(colIndex);
        cell.setCellStyle(style);
        cell.setCellValue(value);
        saveOpenExcelFile();
    }
private void writeValue ( String column , int line , String value , CellStyle style ) { logger . debug ( "Writing: [{}] at line [{}] in column [{}]" , value , line , column ) ; final int colIndex = columns . indexOf ( column ) ; final Sheet sheet = workbook . getSheetAt ( 0 ) ; final Row row = sheet . getRow ( line ) ; Cell cell = row . getCell ( colIndex ) ; if ( cell != null ) { row . removeCell ( cell ) ; } cell = row . createCell ( colIndex ) ; cell . setCellStyle ( style ) ; cell . setCellValue ( value ) ; saveOpenExcelFile ( ) ; }
@param column
@param line
@param value
@param style