Class PLSv2PlayListExporter
- java.lang.Object
-
- com.tagtraum.beatunes.library.playlistexporter.PLSv2PlayListExporter
-
- All Implemented Interfaces:
PlayListExporter
public class PLSv2PlayListExporter extends Object implements PlayListExporter
Exports a playlist using.pls
version 2 format.- Author:
- Hendrik Schreiber
- See Also:
- PLS on Wikipedia
-
-
Constructor Summary
Constructors Constructor Description PLSv2PlayListExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(Path file, PlayList playList, boolean useRelativePathsIfPossible, ProgressListener progressListener)
Exports the given playlist to the given file.String
getFileExtension()
Lowercase file extension (without the '.').-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tagtraum.beatunes.library.PlayListExporter
getDescription, getId
-
-
-
-
Method Detail
-
getFileExtension
public String getFileExtension()
Description copied from interface:PlayListExporter
Lowercase file extension (without the '.'). E.g."m3u"
- Specified by:
getFileExtension
in interfacePlayListExporter
- Returns:
- file extension
-
export
public void export(Path file, PlayList playList, boolean useRelativePathsIfPossible, ProgressListener progressListener) throws IOException
Description copied from interface:PlayListExporter
Exports the given playlist to the given file. Deprecated,- Specified by:
export
in interfacePlayListExporter
- Parameters:
file
- file to write toplayList
- playlist to exportuseRelativePathsIfPossible
- use relative paths, if possibleprogressListener
- progressListener that lets you report... well, progress- Throws:
IOException
- if something goes wrong
-
-