Interface Format
- All Known Implementing Classes:
AbstractFormat,AbstractJasperReportFormat,AbstractJasperReportSpreadsheetFormat,AbstractJasperReportWordProcessingFormat,CsvFormat,DocxFormat,HtmlFormat,OdsFormat,OdtFormat,PdfFormat,PptxFormat,RtfFormat,TextFormat,XlsxFormat
public interface Format
Defines a format to export grid data to.
-
Method Summary
Modifier and TypeMethodDescription<T> byte[]export(GridDataExtractor<T> gridDataExtractor, List<ColumnConfiguration<T>> columnsToExport, List<? extends SpecificConfig> configs) List<Function<Translator,? extends SpecificConfigComponent<? extends SpecificConfig>>>
-
Method Details
-
getFormatNameToDisplay
String getFormatNameToDisplay() -
getFormatFilenameSuffix
String getFormatFilenameSuffix() -
getMimeType
String getMimeType() -
getConfigComponents
List<Function<Translator,? extends SpecificConfigComponent<? extends SpecificConfig>>> getConfigComponents() -
export
<T> byte[] export(GridDataExtractor<T> gridDataExtractor, List<ColumnConfiguration<T>> columnsToExport, List<? extends SpecificConfig> configs)
-