public String convertFromCell(HSSFCell cell){
        Object data = null;
        int dataType = cell.getCellType();
        switch(dataType){
            case HSSFCell.CELL_TYPE_NUMERIC:
                data = cell.getNumericCellValue();
                break;
            case HSSFCell.CELL_TYPE_STRING:
                data = cell.getStringCellValue();
                break;
            case HSSFCell.CELL_TYPE_BOOLEAN:
                data = cell.getBooleanCellValue();
                break;
        }

        return data.toString();
    }