PlaylistWriter
public PlaylistWriter(java.io.OutputStream outputStream,
Format format,
Encoding encoding)
This writes the given Playlist to the given OutputStream with a prepended BOM (Byte Order Mark).
This exists for convenience if you absolutely need a BOM.
From the specification: "They (playlist files) MUST NOT contain any byte order mark (BOM); Clients SHOULD reject Playlists which contain a BOM..."
- Parameters:
outputStream - OutputStream playlists will be written toformat - format in which to write the playlistencoding - encoding in which to write the playlist