apache poi get all worksheets from file input stream code example
Example: apache poi get all worksheets from file input stream
Workbook wb = WorkbookFactory.create(fileInput)
for (int i = 0; i < wb.getNumberOfSheets(); i++)
{
Sheet sheet = wb.getSheetAt(i);
}