private static String getCellStringValueWithType ( final Cell poiCell , final CellType cellType ) { switch ( cellType ) { case BOOLEAN : return getCellStringValueWithBooleanType ( poiCell ) ; case NUMERIC : return getCellStringValueWithNumberType ( poiCell ) ; case STRING : return poiCell . getStringCellValue ( ) ; default : return "" ; } // switch }
Get cell value as string but with giving type .