سؤال

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