Interface FileExport<T>

  • All Known Implementing Classes:
    AbstractFileExport, ImageFileExport, PdfFileExport, SvgFileExport, TextFileExport

    public interface FileExport<T>
    Provides client-side exporting features.

    It saves raw data into a file by producing a file download dialog to appear.

    Builtin content export types supported : - @Inject FileExport - @Inject FileExport - @Inject FileExport

    • Method Detail

      • export

        void export​(T content,
                    String fileName)
        Export the content into a file with the name given by fileName
        Parameters:
        content - The data to be exported
        fileName - The resulting file name.