How to know number of sheets in a workbook?

2020-08-10 10:01发布

问题:

I'm using hssf api for reading data from xls files. But is there any way to get the exact no. of sheets in a workbook containing stored data?

回答1:

What does getNumberOfSheets return you?