How to get writing status of workbook.write()

54 Views Asked by At

we are working on project where we have to write millions of data by workbook SXSSF and workbook.write method taking very long time to come out.

fos = new FileOutputStream("E:\\asd.xlsx");  
wbs.write(fos); //wbs is SXSSFWorkbook object

I just want some way by which I can show some status while wbs.write(fos) is on call, like percentage being written or anything which give some status.

0

There are 0 best solutions below