How can I read both .xls and .xlsx files with one method in Java?

前端 未结 0 1290
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 17:53

I have already a method, which can read xls files. Is there a part of the Apache POI I can use to read both xls and xlsx files in one method?

This is my Method:

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题