Class XlsExporter

java.lang.Object
es.kukenan.smartfi.reports.generator.XlsExporter
All Implemented Interfaces:
Exporter

@Component public class XlsExporter extends Object implements Exporter
XLS exporter.
  • Constructor Details

    • XlsExporter

      public XlsExporter()
  • Method Details

    • forType

      public boolean forType(ReportType type)
      Description copied from interface: Exporter
      Exporter for type parameter.
      Specified by:
      forType in interface Exporter
      Parameters:
      type - Report type
      Returns:
      if the exporter is for the type parameter
    • generate

      public byte[] generate(net.sf.jasperreports.engine.JasperPrint print) throws net.sf.jasperreports.engine.JRException
      Description copied from interface: Exporter
      Generate report.
      Specified by:
      generate in interface Exporter
      Parameters:
      print - Jasper to print
      Returns:
      The report in byte array format
      Throws:
      net.sf.jasperreports.engine.JRException - Exception in report generation