Package org.silverpeas.components.kmelia.export

## Interface ExportFileNameProducer

- All Known Implementing Classes:
    `DefaultExportFileNameProducer`, `KmeliaSessionController`

      public interface ExportFileNameProducer

  A producer of names of files used in the export process. The producer of file names encapsulates the strategy used in the generation of file names for the publications export. The produce of file names depends not only on the publication to export in the file but also on the context within which the export will occur. So that, a producer is get for a specific Kmelia session controller that wraps that context.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getPublicationExportFileName​(KmeliaPublication publication, String language)` | Gets the name of the file into which the specified publication can be exported, whatever the format of the export file.

- - ### Method Detail

    - #### getPublicationExportFileName

          String getPublicationExportFileName​(KmeliaPublication publication,
                                              String language)

      Gets the name of the file into which the specified publication can be exported, whatever the format of the export file.
      Parameters:
        `publication` - the Kmelia publication to export.
        `language` - the language in which the file should be named. This parameter can be not taken into account in the file name computation by the implementation (depends on the strategy used in the name production).
      Returns:
        the name of the file into which the publication can be exported.