Package io.keikai.range.impl.imexp
Class AbstractExporter
- java.lang.Object
-
- io.keikai.range.impl.imexp.AbstractExporter
-
- All Implemented Interfaces:
SExporter,Serializable
- Direct Known Subclasses:
AbstractExcelExporter
public abstract class AbstractExporter extends Object implements SExporter, Serializable
Defines common behaviors for an exporter.- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexport(SBook book, File file)Export a bookvoidexport(SheetRegion sheetRegion, OutputStream fos)voidexport(SSheet sheet, OutputStream fos)
-
-
-
Method Detail
-
export
public void export(SBook book, File file) throws IOException
Description copied from interface:SExporterExport a book- Specified by:
exportin interfaceSExporter- Parameters:
book- the book to exportfile- the output file to store data- Throws:
IOException
-
export
public void export(SSheet sheet, OutputStream fos) throws IOException
- Throws:
IOException
-
export
public void export(SheetRegion sheetRegion, OutputStream fos) throws IOException
- Throws:
IOException
-
-