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 void
export(SBook book, File file)
Export a bookvoid
export(SheetRegion sheetRegion, OutputStream fos)
void
export(SSheet sheet, OutputStream fos)
-
-
-
Method Detail
-
export
public void export(SBook book, File file) throws IOException
Description copied from interface:SExporter
Export a book- Specified by:
export
in 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
-
-