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

Quick Search    Search Deep

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

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

public class PlaylistWriterPLS
extends PlaylistWriter

Write a PLS playlist

[playlist] File1=Blues\Muddy Waters - Rollin Stone.mp3 Title1=Various Artists - Muddy Waters - Rollin' Stone Length1=188 File2=Classical\Carmina Burana - O Fortuna.mp3 Title2=Carmina Burana - O Fortuna Length2=154 File3=Classical\Champagne Polka - Johann Strauss.mp3 Title3=Champagne Polka - Johann Strauss Length3=153 File4=Classical\Immortal Beloved, Fur Elise.mp3 Title4=Unknown Artist - Fur Elise Length4=172 NumberOfEntries=4 Version=2

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 PlaylistWriterPLS(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

PlaylistWriterPLS

protected PlaylistWriterPLS(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