Class ExcelExport


  • public class ExcelExport
    extends Object
    • Constructor Detail

      • ExcelExport

        public ExcelExport()
    • Method Detail

      • writeToResponse

        public boolean writeToResponse​(OutputStream os)
        Parameters:
        os -
        Returns:
        True if successful; false otherwise
      • close

        public void close()
      • getWorkbook

        public org.apache.poi.xssf.streaming.SXSSFWorkbook getWorkbook()
        Returns:
        the workbook
      • setWorkbook

        public ExcelExport setWorkbook​(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook)
        Parameters:
        workbook - the workbook to set
        Returns:
        this
      • getFileName

        public String getFileName()
        Returns:
        the fileName
      • setFileName

        public ExcelExport setFileName​(String fileName)
        Parameters:
        fileName - the fileName to set
        Returns:
        this