|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.mpcpl.MPCPL
public class MPCPL
The Media Player Classic Playlist (MPCPL) format.
Constructor Summary | |
---|---|
MPCPL()
|
Method Summary | |
---|---|
SpecificPlaylistProvider |
getProvider()
Returns the provider of this specific playlist. |
List<Resource> |
getResources()
Returns the list of playlist resources. |
void |
setProvider(SpecificPlaylistProvider provider)
Initializes the provider of this specific playlist. |
Playlist |
toPlaylist()
Builds a generic representation from this specific playlist. |
void |
writeTo(OutputStream out,
String encoding)
Writes this specific playlist to the specified output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MPCPL()
Method Detail |
---|
public void setProvider(SpecificPlaylistProvider provider)
SpecificPlaylist
setProvider
in interface SpecificPlaylist
provider
- the provider of this playlist. Shall not be null
.SpecificPlaylist.getProvider()
public SpecificPlaylistProvider getProvider()
SpecificPlaylist
getProvider
in interface SpecificPlaylist
null
.SpecificPlaylist.setProvider(christophedelory.playlist.SpecificPlaylistProvider)
public void writeTo(OutputStream out, String encoding) throws Exception
SpecificPlaylist
writeTo
in interface SpecificPlaylist
out
- an output stream. Shall not be null
.encoding
- the content encoding of the output resource, or null
if not known.
NullPointerException
- if out
is null
.
Exception
- if any error occurs during the marshalling process.SpecificPlaylistFactory.readFrom(java.net.URL)
,
SpecificPlaylistProvider.readFrom(java.io.InputStream, java.lang.String, org.apache.commons.logging.Log)
public Playlist toPlaylist()
SpecificPlaylist
toPlaylist
in interface SpecificPlaylist
null
.SpecificPlaylistProvider.toSpecificPlaylist(christophedelory.playlist.Playlist)
public List<Resource> getResources()
null
.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |