Interface IExporter

    • Method Detail

      • exportRecords

        @Nonnull
        com.helger.commons.state.ESuccess exportRecords​(@Nonnull
                                                        IExportRecordProvider aProvider,
                                                        @Nonnull @WillClose
                                                        OutputStream aOS)
        Export all provided records to an output stream.
        Parameters:
        aProvider - The provider for all records. May not be null.
        aOS - The output stream to write to. Will be closed automatically in any case. May not be null.
        Returns:
        ESuccess.SUCCESS if at lease one record was provided and saving was successful.