cant find close() method on Apache WorkbookFactory

后端 未结 2 374
[愿得一人]
[愿得一人] 2021-01-26 03:04

i read about Apache WorkbookFactory

the guide are saying to close workbook when done. \"Workbook should be closed after use\"

but i dont have a close method to c

2条回答
  •  深忆病人
    2021-01-26 03:59

    cant find close() method on Apache WorkbookFactory

    You need to close the Workbook, not its factory.

    Note 1: that in order to properly release resources the Workbook should be closed after use.

    Correct.

    Note 2: also that loading from an InputStream requires more memory than loading from a File

    Untrue, unless the InputStream is a ByteArrayInputStream.

提交回复
热议问题