public interface ReportWriter extends Writer
Modifier and Type | Method and Description |
---|---|
List<Reporter<Object[]>> |
getBaseReporters() |
void |
init()
Initialize the Export Writer
|
void |
setBaseReporters(List<Reporter<Object[]>> baseReporters)
Each Reporter will create a new Sheet/Tab/Section of Data in the Report
|
void |
writeDataToStream(OutputStream outputStream,
Object[] params,
PageInfo pageInfo)
Generate the Excel and write it onto the
OutputStream |
void writeDataToStream(OutputStream outputStream, Object[] params, PageInfo pageInfo) throws Exception
OutputStream
outputStream
- as OutputStream
params
- as Object[] as any parameters to pass to the Reporter
@nullable truepageInfo
- as PageInfo
pagination details to pass @nullable trueException
void init()
Copyright © 2018. All rights reserved.