Closed dorssar closed 3 years ago
If you have char c = 'a'
then just call ws.value(0,0,String.valueOf(c))
.
In 0.11.0 release it is no longer possible to trigger this exception. value(row,col,v)
is no longer accepting Object - only the supported types.
ws.value(0, 0, "a" as Character)
The following throws an exception:
java.lang.IllegalArgumentException: No supported cell type for class java.lang.Character at org.dhatim.fastexcel.Cell.setValue(Cell.java:106) at org.dhatim.fastexcel.Worksheet.value(Worksheet.java:495)