Package io.keikai.api.impl
Class ExporterImpl
java.lang.Object
io.keikai.api.impl.ExporterImpl
- All Implemented Interfaces:
Exporter,Serializable
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExport bookvoidexport(Book book, OutputStream fos) Export bookvoidexport(Book book, OutputStream fos, ExportOptions options) Export a book applying the givenExportOptions(KEIKAI-832).
-
Constructor Details
-
ExporterImpl
-
-
Method Details
-
export
Description copied from interface:ExporterExport book- Specified by:
exportin interfaceExporter- Parameters:
book- the book to exportfos- the output stream to store data- Throws:
IOException
-
export
Description copied from interface:ExporterExport a book applying the givenExportOptions(KEIKAI-832).The default implementation delegates to
Exporter.export(Book, OutputStream)whenoptionsisnullordefault, and otherwise throwsUnsupportedOperationException. Exporters that support customization (currently XLSX/XLSM) override it.- Specified by:
exportin interfaceExporter- Parameters:
book- the book to exportfos- the output stream to store dataoptions- the export customizations;nullmeans defaults- Throws:
IOException- on I/O failure
-
export
Description copied from interface:ExporterExport book- Specified by:
exportin interfaceExporter- Parameters:
book- the book to exportfile- the output file to store data- Throws:
IOException
-