@Override
  public CellType getCellType() {
    if(formulaType) {
      return CellType.FORMULA;
    } else if(contentsSupplier.getContent() == null || type == null) {
      return CellType.BLANK;
    } else if("n".equals(type)) {
      return CellType.NUMERIC;
    } else if("s".equals(type) || "inlineStr".equals(type) || "str".equals(type)) {
      return CellType.STRING;
    } else if("str".equals(type)) {
      return CellType.FORMULA;
    } else if("b".equals(type)) {
      return CellType.BOOLEAN;
    } else if("e".equals(type)) {
      return CellType.ERROR;
    } else {
      throw new UnsupportedOperationException("Unsupported cell type '" + type + "'");
    }
  }
@ Override public CellType getCellType ( ) { if ( formulaType ) { return CellType . FORMULA ; } else if ( contentsSupplier . getContent ( ) == null || type == null ) { return CellType . BLANK ; } else if ( "n" . equals ( type ) ) { return CellType . NUMERIC ; } else if ( "s" . equals ( type ) || "inlineStr" . equals ( type ) || "str" . equals ( type ) ) { return CellType . STRING ; } else if ( "str" . equals ( type ) ) { return CellType . FORMULA ; } else if ( "b" . equals ( type ) ) { return CellType . BOOLEAN ; } else if ( "e" . equals ( type ) ) { return CellType . ERROR ; } else { throw new UnsupportedOperationException ( "Unsupported cell type '" + type + "'" ) ; } }
Return the cell type.

@return the cell type