com.alibaba.excel.metadata.csv
类 CsvCell
- java.lang.Object
-
- org.apache.poi.ss.usermodel.CellBase
-
- com.alibaba.excel.metadata.csv.CsvCell
-
- 所有已实现的接口:
- org.apache.poi.ss.usermodel.Cell
public class CsvCell extends org.apache.poi.ss.usermodel.CellBase
csv cell- 作者:
- Jiaju Zhuang
-
构造器概要
构造器 构造器和说明 CsvCell(CsvWorkbook csvWorkbook, CsvSheet csvSheet, CsvRow csvRow, Integer columnIndex, org.apache.poi.ss.usermodel.CellType cellType)
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 org.apache.poi.ss.util.CellRangeAddress
getArrayFormulaRange()
boolean
getBooleanCellValue()
org.apache.poi.ss.usermodel.CellType
getCachedFormulaResultType()
org.apache.poi.ss.usermodel.CellType
getCachedFormulaResultTypeEnum()
org.apache.poi.ss.usermodel.Comment
getCellComment()
String
getCellFormula()
org.apache.poi.ss.usermodel.CellStyle
getCellStyle()
org.apache.poi.ss.usermodel.CellType
getCellType()
int
getColumnIndex()
Date
getDateCellValue()
byte
getErrorCellValue()
org.apache.poi.ss.usermodel.Hyperlink
getHyperlink()
LocalDateTime
getLocalDateTimeCellValue()
double
getNumericCellValue()
org.apache.poi.ss.usermodel.RichTextString
getRichStringCellValue()
org.apache.poi.ss.usermodel.Row
getRow()
int
getRowIndex()
org.apache.poi.ss.usermodel.Sheet
getSheet()
protected org.apache.poi.ss.SpreadsheetVersion
getSpreadsheetVersion()
String
getStringCellValue()
boolean
isPartOfArrayFormulaGroup()
void
removeCellComment()
protected void
removeFormulaImpl()
void
removeHyperlink()
void
setAsActiveCell()
void
setCellComment(org.apache.poi.ss.usermodel.Comment comment)
void
setCellErrorValue(byte value)
protected void
setCellFormulaImpl(String formula)
void
setCellStyle(org.apache.poi.ss.usermodel.CellStyle style)
protected void
setCellTypeImpl(org.apache.poi.ss.usermodel.CellType cellType)
void
setCellValue(boolean value)
void
setCellValue(org.apache.poi.ss.usermodel.RichTextString value)
void
setCellValue(String value)
protected void
setCellValueImpl(Calendar value)
protected void
setCellValueImpl(Date value)
protected void
setCellValueImpl(double value)
protected void
setCellValueImpl(LocalDateTime value)
protected void
setCellValueImpl(org.apache.poi.ss.usermodel.RichTextString value)
protected void
setCellValueImpl(String value)
void
setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link)
从类继承的方法 org.apache.poi.ss.usermodel.CellBase
getAddress, getCellTypeEnum, getValueType, removeFormula, setBlank, setCellFormula, setCellType, setCellValue, setCellValue, setCellValue, setCellValue, tryToDeleteArrayFormula
-
构造器详细资料
CsvCell
public CsvCell(CsvWorkbook csvWorkbook, CsvSheet csvSheet, CsvRow csvRow, Integer columnIndex, org.apache.poi.ss.usermodel.CellType cellType)
方法详细资料
setCellTypeImpl
protected void setCellTypeImpl(org.apache.poi.ss.usermodel.CellType cellType)
- 指定者:
-
setCellTypeImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellFormulaImpl
protected void setCellFormulaImpl(String formula)
- 指定者:
-
setCellFormulaImpl
在类中org.apache.poi.ss.usermodel.CellBase
removeFormulaImpl
protected void removeFormulaImpl()
- 指定者:
-
removeFormulaImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(double value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(Date value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(LocalDateTime value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(Calendar value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(String value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValueImpl
protected void setCellValueImpl(org.apache.poi.ss.usermodel.RichTextString value)
- 指定者:
-
setCellValueImpl
在类中org.apache.poi.ss.usermodel.CellBase
setCellValue
public void setCellValue(String value)
- 指定者:
-
setCellValue
在接口中org.apache.poi.ss.usermodel.Cell
- 覆盖:
-
setCellValue
在类中org.apache.poi.ss.usermodel.CellBase
setCellValue
public void setCellValue(org.apache.poi.ss.usermodel.RichTextString value)
- 指定者:
-
setCellValue
在接口中org.apache.poi.ss.usermodel.Cell
- 覆盖:
-
setCellValue
在类中org.apache.poi.ss.usermodel.CellBase
getSpreadsheetVersion
protected org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
- 指定者:
-
getSpreadsheetVersion
在类中org.apache.poi.ss.usermodel.CellBase
getColumnIndex
public int getColumnIndex()
getRowIndex
public int getRowIndex()
getSheet
public org.apache.poi.ss.usermodel.Sheet getSheet()
getRow
public org.apache.poi.ss.usermodel.Row getRow()
getCellType
public org.apache.poi.ss.usermodel.CellType getCellType()
getCachedFormulaResultType
public org.apache.poi.ss.usermodel.CellType getCachedFormulaResultType()
getCachedFormulaResultTypeEnum
public org.apache.poi.ss.usermodel.CellType getCachedFormulaResultTypeEnum()
getCellFormula
public String getCellFormula()
getNumericCellValue
public double getNumericCellValue()
getDateCellValue
public Date getDateCellValue()
getLocalDateTimeCellValue
public LocalDateTime getLocalDateTimeCellValue()
getRichStringCellValue
public org.apache.poi.ss.usermodel.RichTextString getRichStringCellValue()
getStringCellValue
public String getStringCellValue()
setCellValue
public void setCellValue(boolean value)
setCellErrorValue
public void setCellErrorValue(byte value)
getBooleanCellValue
public boolean getBooleanCellValue()
getErrorCellValue
public byte getErrorCellValue()
setCellStyle
public void setCellStyle(org.apache.poi.ss.usermodel.CellStyle style)
getCellStyle
public org.apache.poi.ss.usermodel.CellStyle getCellStyle()
setAsActiveCell
public void setAsActiveCell()
setCellComment
public void setCellComment(org.apache.poi.ss.usermodel.Comment comment)
getCellComment
public org.apache.poi.ss.usermodel.Comment getCellComment()
removeCellComment
public void removeCellComment()
getHyperlink
public org.apache.poi.ss.usermodel.Hyperlink getHyperlink()
setHyperlink
public void setHyperlink(org.apache.poi.ss.usermodel.Hyperlink link)
removeHyperlink
public void removeHyperlink()
getArrayFormulaRange
public org.apache.poi.ss.util.CellRangeAddress getArrayFormulaRange()
isPartOfArrayFormulaGroup
public boolean isPartOfArrayFormulaGroup()
Copyright © 2018–2021 Alibaba Group. All rights reserved.