|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.m3u.M3U
public class M3U
A M3U, M4U, or Real Audio Metadata playlist.
| Constructor Summary | |
|---|---|
M3U()
|
|
| Method Summary | |
|---|---|
SpecificPlaylistProvider |
getProvider()
Returns the provider of this specific playlist. |
List<Resource> |
getResources()
Returns the list of playlist resources. |
boolean |
isExtensionM3U()
Specifies if the marshalled playlist must have the Extension M3U format or not. |
void |
setExtensionM3U(boolean extensionM3U)
Specifies if the marshalled playlist must have the Extension M3U format or not. |
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 M3U()
| Method Detail |
|---|
public void setProvider(SpecificPlaylistProvider provider)
SpecificPlaylist
setProvider in interface SpecificPlaylistprovider - the provider of this playlist. Shall not be null.SpecificPlaylist.getProvider()public SpecificPlaylistProvider getProvider()
SpecificPlaylist
getProvider in interface SpecificPlaylistnull.SpecificPlaylist.setProvider(christophedelory.playlist.SpecificPlaylistProvider)
public void writeTo(OutputStream out,
String encoding)
throws Exception
SpecificPlaylist
writeTo in interface SpecificPlaylistout - 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 SpecificPlaylistnull.SpecificPlaylistProvider.toSpecificPlaylist(christophedelory.playlist.Playlist)public void setExtensionM3U(boolean extensionM3U)
extensionM3U - true if the marshalled playlist must be an Extension M3U, false otherwise.isExtensionM3U()public boolean isExtensionM3U()
false.
true if the marshalled playlist must be an Extension M3U, false otherwise.setExtensionM3U(boolean)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 | |||||||||