Interface PlayListExporter

    • Method Detail

      • getFileExtension

        String getFileExtension()
        Lowercase file extension (without the '.'). E.g. "m3u"
        Returns:
        file extension
      • getDescription

        default String getDescription()
        Description of this exporter. By default the file extension converted to upper case.
        Returns:
        description
        See Also:
        getFileExtension()
      • getId

        default String getId()
        Lets you provide an id for this exporter. The id may be used for referring to an instance of this exporter in persistent configuration files. By default this method returns Class.getSimpleName() for this instance.
        Returns:
        id - unless you plan to use multiple instances of it, returning the fully qualified classname is recommended
      • export

        void export​(Path file,
                    PlayList playList,
                    boolean useRelativePathsIfPossible,
                    ProgressListener progressListener)
             throws IOException
        Exports the given playlist to the given file. Deprecated,
        Parameters:
        file - file to write to
        playList - playlist to export
        useRelativePathsIfPossible - use relative paths, if possible
        progressListener - progressListener that lets you report... well, progress
        Throws:
        IOException - if something goes wrong