Class ICal4JExporter

    • Constructor Detail

      • ICal4JExporter

        public ICal4JExporter()
    • Method Detail

      • exports

        public void exports​(ExportDescriptor descriptor,
                            Supplier<Stream<CalendarEvent>> supplier)
                     throws ExportException
        Description copied from interface: ICalendarExporter
        Exports a the supplied stream of events of a given calendar into the output stream provided by the specified descriptor. The calendar instance must be provided by the descriptor.
        Specified by:
        exports in interface Exporter<Stream<CalendarEvent>>
        Specified by:
        exports in interface ICalendarExporter
        Parameters:
        descriptor - the export descriptor that describes how the export has to be done.
        supplier - the supplier that provides what resource to export. It starts the export process by, for example, getting the resource from the Silverpeas data source.
        Throws:
        ExportException - when an unexpected error occurs while exporting the resource.