Package io.keikai.api.impl
Class ExporterImpl
- java.lang.Object
-
- io.keikai.api.impl.ExporterImpl
-
- All Implemented Interfaces:
Exporter
,Serializable
public class ExporterImpl extends Object implements Exporter, Serializable
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExporterImpl(SExporter exporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(Book book, File file)
Export bookvoid
export(Book book, OutputStream fos)
Export book
-
-
-
Constructor Detail
-
ExporterImpl
public ExporterImpl(SExporter exporter)
-
-
Method Detail
-
export
public void export(Book book, OutputStream fos) throws IOException
Description copied from interface:Exporter
Export book- Specified by:
export
in interfaceExporter
- Parameters:
book
- the book to exportfos
- the output stream to store data- Throws:
IOException
-
export
public void export(Book book, File file) throws IOException
Description copied from interface:Exporter
Export book- Specified by:
export
in interfaceExporter
- Parameters:
book
- the book to exportfile
- the output file to store data- Throws:
IOException
-
-