| Constructor and Description |
|---|
WriteCellData(BigDecimal numberValue)
Constructor for creating a WriteCellData object with a BigDecimal number value.
|
WriteCellData(Boolean booleanValue)
Constructor for creating a WriteCellData object with a boolean value.
|
WriteCellData(byte[] image)
Constructor for creating a WriteCellData object with image data.
|
WriteCellData(CellDataTypeEnum type)
Constructor for creating a WriteCellData object with a specified cell data type.
|
WriteCellData(CellDataTypeEnum type,
String stringValue)
Constructor for creating a WriteCellData object with a specified cell data type and string value.
|
WriteCellData(Date dateValue)
Constructor for creating a WriteCellData object with a Date value.
|
WriteCellData(LocalDateTime dateValue)
Constructor for creating a WriteCellData object with a LocalDateTime value.
|
WriteCellData(String stringValue)
Constructor for creating a WriteCellData object with a string value.
|
| Modifier and Type | Method and Description |
|---|---|
WriteCellStyle |
getOrCreateStyle()
Returns or creates a new style for the cell.
|
checkEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnIndex, getRowIndexpublic WriteCellData(String stringValue)
stringValue - The string value to be written to the cell.public WriteCellData(CellDataTypeEnum type)
type - The type of data being written to the cell.public WriteCellData(CellDataTypeEnum type, String stringValue)
type - The type of data being written to the cell.stringValue - The string value to be written to the cell.IllegalArgumentException - If the type is not STRING or ERROR, or if the string value is null.public WriteCellData(BigDecimal numberValue)
numberValue - The BigDecimal number value to be written to the cell.IllegalArgumentException - If the number value is null.public WriteCellData(Boolean booleanValue)
booleanValue - The boolean value to be written to the cell.IllegalArgumentException - If the boolean value is null.public WriteCellData(Date dateValue)
dateValue - The Date value to be written to the cell.IllegalArgumentException - If the date value is null.public WriteCellData(LocalDateTime dateValue)
dateValue - The LocalDateTime value to be written to the cell.IllegalArgumentException - If the date value is null.public WriteCellData(byte[] image)
image - The byte array representing the image data.IllegalArgumentException - If the image data is null.public WriteCellStyle getOrCreateStyle()
Copyright © 2024–2025 fast-excel. All rights reserved.