public class ExcelSheetSink extends Object implements DataModelSink
DataModelSink.| Constructor and Description |
|---|
ExcelSheetSink(DataModelDefinition<?> definition,
org.apache.poi.ss.usermodel.Sheet sheet,
int maxColumns)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
put(DataModelReflection model)
Puts a reflection of data model object into this channel.
|
public ExcelSheetSink(DataModelDefinition<?> definition, org.apache.poi.ss.usermodel.Sheet sheet, int maxColumns)
definition - the data model definitionsheet - target sheetmaxColumns - the count of max columnsIllegalArgumentException - if some parameters were nullpublic void put(DataModelReflection model)
DataModelSinkput in interface DataModelSinkmodel - target data model objectpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.