java.lang.Object
java.io.Writer
java.io.BufferedWriter
jreceiver.server.util.playlist.PlaylistWriter
jreceiver.server.util.playlist.PlaylistWriterASX
- public class PlaylistWriterASX
- extends PlaylistWriter
Write a ASX playlist
<ASX version="3.0">
<ABSTRACT>This is a sample asx file used as playlist</ABSTRACT>
<TITLE>Windows Media Playlist Demo</TITLE>
<AUTHOR>Reed Esau</AUTHOR>
<COPYRIGHT>2002 Reed Esau</COPYRIGHT>
<ENTRY>
<REF href="File1.asf" />
<ABSTRACT>Link to a local file on the same folder</ABSTRACT>
</ENTRY>
<ENTRY>
<REF href="mms://media.phm.lu/File2.asf" />
<ABSTRACT>a file streamed from a media server on the network</ABSTRACT>
</ENTRY>
<ENTRY>
<REF href="File3.mp3" />
<ABSTRACT>ASX can support any file type supported by WMP</ABSTRACT>
</ENTRY>
<ENTRY>
<REF href="File4.avi" />
<ABSTRACT>you can even mix audio files and video files in the same ASX</ABSTRACT>
</ENTRY>
</ASX>
- Version:
- $Revision: 1.6 $ $Date: 2003/05/04 19:47:22 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaylistWriterASX
protected PlaylistWriterASX(java.io.Writer in)
- ctor
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