public abstract class AbstractSheetWriter<T> extends Object implements SheetWriter<T>
| Modifier and Type | Field and Description |
|---|---|
protected Config |
config |
protected HeaderWriter |
headerWriter |
protected CellPosition |
startPoint |
| Constructor and Description |
|---|
AbstractSheetWriter(Config config,
HeaderWriter headerWriter,
CellPosition startPoint) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canWrite(org.apache.poi.ss.usermodel.Sheet sheet,
Collection<T> collection) |
protected int |
drawColumn(org.apache.poi.ss.usermodel.Sheet sheet,
int row,
int col,
Field field,
Object o,
WorkbookContext bookResource) |
protected int |
getStartColumn() |
CellPosition |
write(org.apache.poi.ss.usermodel.Sheet sheet,
Collection<T> data) |
protected Config config
protected HeaderWriter headerWriter
protected CellPosition startPoint
public AbstractSheetWriter(Config config, HeaderWriter headerWriter, CellPosition startPoint)
public CellPosition write(org.apache.poi.ss.usermodel.Sheet sheet, Collection<T> data)
write in interface SheetWriter<T>protected int getStartColumn()
protected int drawColumn(org.apache.poi.ss.usermodel.Sheet sheet,
int row,
int col,
Field field,
Object o,
WorkbookContext bookResource)
protected boolean canWrite(org.apache.poi.ss.usermodel.Sheet sheet,
Collection<T> collection)
Copyright © 2019. All rights reserved.