|
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.plp.PLP
public class PLP
Music playlist for a SanDisk Sansa portable media player.
Constructor Summary | |
---|---|
PLP()
|
Method Summary | |
---|---|
String |
getDiskSpecifier()
Returns the disk specifier of this playlist. |
List<String> |
getFilenames()
Returns the list of song file names. |
SpecificPlaylistProvider |
getProvider()
Returns the provider of this specific playlist. |
void |
setDiskSpecifier(String diskSpecifier)
Initializes the disk specifier of this playlist. |
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 PLP()
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<String> getFilenames()
null
.public String getDiskSpecifier()
HARP
".
null
.setDiskSpecifier(java.lang.String)
public void setDiskSpecifier(String diskSpecifier)
diskSpecifier
- a disk specifier. Must not be null
.
NullPointerException
- if diskSpecifier
is null
.getDiskSpecifier()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |