Interface ExportOperation.ChannelsProviderOptions

Enclosing interface:
ExportOperation

public static interface ExportOperation.ChannelsProviderOptions
Options for configuring the export of an added channels provider.

These options allow to define which extension to be used for channels. The choices of extensions are mutual exclusive. If no choice is taken, a default extension will be used when exporting channels.

Since:
5.1.42
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    useCustomExtension(@NotNull TemplateSet templateSet, @NotNull String extension)
    Defines to use custom extensions when exporting channels.
    void
    Defines to use the file extensions defined in presentation channels when exporting.
    void
    Defines to use the file extensions defined in template sets when exporting channels.
  • Method Details

    • usePresentationExtensions

      void usePresentationExtensions()
      Defines to use the file extensions defined in presentation channels when exporting.
      Since:
      5.1.42
    • useTemplateExtensions

      void useTemplateExtensions()
      Defines to use the file extensions defined in template sets when exporting channels.
      Since:
      5.1.42
    • useCustomExtension

      void useCustomExtension(@NotNull @NotNull TemplateSet templateSet, @NotNull @NotNull String extension)
      Defines to use custom extensions when exporting channels. If no extension is defined for a template set, "txt" will be used as file extension. May be called multiple times for different template sets.
      Parameters:
      templateSet - The template set.
      extension - The file extension to be used.
      Since:
      5.1.42