문제

i need to read XLS(not XLSX) file efficiently and I found the XLS2CSVmra example of POI, the problem is that I need to read one sheet only (i have sheet name sheet index etc.). Is there any way to restrict reading to one sheet only?

Any help will be appreciated.

Thanks in advance, Yan

도움이 되었습니까?

해결책

It should be really simple - in the record handler for BOFRecord, when it has worked out the sheet, just have it stop processing when it sees the start of the sheet after the one you want. Done!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top