Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.server.util.playlist
Class PlaylistWriterM3U  view PlaylistWriterM3U download PlaylistWriterM3U.java

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.BufferedWriter
          extended byjreceiver.server.util.playlist.PlaylistWriter
              extended byjreceiver.server.util.playlist.PlaylistWriterM3U

public class PlaylistWriterM3U
extends PlaylistWriter

Write a M3U playlist

#EXTM3U #EXTINF:188,Various Artists - Muddy Waters - Rollin' Stone Blues\Muddy Waters - Rollin Stone.mp3 #EXTINF:154,Carmina Burana - O Fortuna Classical\Carmina Burana - O Fortuna.mp3 #EXTINF:153,Champagne Polka - Johann Strauss Classical\Champagne Polka - Johann Strauss.mp3 #EXTINF:172,Unknown Artist - Fur Elise Classical\Immortal Beloved, Fur Elise.mp3

Version:
$Revision: 1.6 $ $Date: 2003/05/04 19:47:22 $

Field Summary
 
Fields inherited from class jreceiver.server.util.playlist.PlaylistWriter
log
 
Fields inherited from class java.io.BufferedWriter
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
protected PlaylistWriterM3U(java.io.Writer in)
          ctor
 
Method Summary
protected  void writeEntry(int entry_no, jreceiver.common.rec.source.Source source)
           
protected  void writeFooter(int entry_count)
           
protected  void writeHeader()
           
 
Methods inherited from class jreceiver.server.util.playlist.PlaylistWriter
close, newInstance, write
 
Methods inherited from class java.io.BufferedWriter
flush, newLine, write, write, write
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaylistWriterM3U

protected PlaylistWriterM3U(java.io.Writer in)
ctor

Method Detail

writeHeader

protected void writeHeader()
                    throws java.io.IOException
Specified by:
writeHeader in class PlaylistWriter

writeEntry

protected void writeEntry(int entry_no,
                          jreceiver.common.rec.source.Source source)
                   throws java.io.IOException
Specified by:
writeEntry in class PlaylistWriter

writeFooter

protected void writeFooter(int entry_count)
                    throws java.io.IOException
Specified by:
writeFooter in class PlaylistWriter