Package io.keikai.api
Interface Exporter
- All Known Implementing Classes:
ExporterImpl
public interface Exporter
Exporter for a book or a sheet.
- Since:
- 3.0.0
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptionvoidExport bookvoidexport(Book book, OutputStream fos) Export bookdefault voidexport(Book book, OutputStream fos, ExportOptions options) Export a book applying the givenExportOptions(KEIKAI-832).
-
Method Details
-
export
Export book- Parameters:
book- the book to exportfos- the output stream to store data- Throws:
IOException
-
export
Export book- Parameters:
book- the book to exportfile- the output file to store data- Throws:
IOException
-
export
Export a book applying the givenExportOptions(KEIKAI-832).The default implementation delegates to
export(Book, OutputStream)whenoptionsisnullordefault, and otherwise throwsUnsupportedOperationException. Exporters that support customization (currently XLSX/XLSM) override it.- Parameters:
book- the book to exportfos- the output stream to store dataoptions- the export customizations;nullmeans defaults- Throws:
IOException- on I/O failure- Since:
- 7.0.0
-