@SuppressWarnings("static-access") private static String getValue(Cell cell) { if (cell.getCellType() == cell.CELL_TYPE_BOOLEAN) { return String.valueOf(cell.getBooleanCellValue()); } else if (cell.getCellType() == cell.CELL_TYPE_NUMERIC) { return NumberToTextConverter.toText(cell.getNumericCellValue()); } else { return String.valueOf(cell.getStringCellValue()); } }
public String toFormulaString() { return NumberToTextConverter.toText(field_1_value); }