Apache POI Excel Cell Type

To set various types of values in cell, Apache POI provides overloading function setCellValue() which allows us to set values as per the requirement.

In the following example, we have created various cells to hold values of different-different types.

Apache POI Excel Cell Type Example

Output:


Apache POI Excel Cell Type