jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36 stars 6 forks source link

What happens when a file cannot be saved? #31

Closed jferard closed 7 years ago

jferard commented 7 years ago

Currently, there is no way to distinguish the following cases:

jferard commented 7 years ago

Other case: the file can't be saved because the path is wrong.

jferard commented 7 years ago

Conclusion:

jferard commented 7 years ago

Better solution: use OdsFactory.openFile, and check the type of the result.