|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.rmp.Track
public class Track
A track in a Real Metadata Package.
| Constructor Summary | |
|---|---|
Track()
|
|
| Method Summary | |
|---|---|
String |
getAlbum()
Returns the track album. |
String |
getArtist()
Returns the track artist. |
Integer |
getChannels()
Returns the number of channels in this track. |
Integer |
getContextInfoHeight()
Returns the context info height, in pixels. |
String |
getContextInfoUrlString()
Returns the context info URL. |
Integer |
getContextInfoWidth()
Returns the context info width, in pixels. |
Integer |
getDuration()
Returns the duration of this track, in seconds. |
String |
getFileName()
Returns the track file name. |
String |
getFormat()
Returns the track format. |
String |
getGenre()
Returns the track genre. |
String |
getId()
Returns the track identifier. |
String |
getIsStreamingString()
Specifies that this is a streaming URL that should simply be imported and not downloaded. |
Tracklist |
getParent()
Returns the parent track list, if any. |
Integer |
getQuality()
Returns the quality of this track, in bps. |
Long |
getSize()
Returns the size of this track, in bytes. |
String |
getTitle()
Returns the track title. |
String |
getUrlString()
Returns the MIP URL. |
boolean |
isStreaming()
Specifies that this is a streaming URL that should simply be imported and not downloaded. |
void |
setAlbum(String album)
Initializes the track album. |
void |
setArtist(String artist)
Initializes the track artist. |
void |
setChannels(int channels)
Initializes the number of channels in this track. |
void |
setChannels(Integer channels)
Initializes the number of channels in this track. |
void |
setContextInfoHeight(int height)
Initializes the context info height, in pixels. |
void |
setContextInfoHeight(Integer height)
Initializes the context info height, in pixels. |
void |
setContextInfoUrlString(String url)
Initializes the context info URL. |
void |
setContextInfoWidth(int width)
Initializes the context info width, in pixels. |
void |
setContextInfoWidth(Integer width)
Initializes the context info width, in pixels. |
void |
setDuration(int duration)
Initializes the duration of this track, in seconds. |
void |
setDuration(Integer duration)
Initializes the duration of this track, in seconds. |
void |
setFileName(String fileName)
Initializes the track file name. |
void |
setFormat(String format)
Initializes the track format. |
void |
setGenre(String genre)
Initializes the track genre. |
void |
setId(String id)
Initializes the identifier of this track. |
void |
setIsStreaming(boolean isStreaming)
Specifies that this is a streaming URL that should simply be imported and not downloaded. |
void |
setIsStreamingString(String isStreaming)
Specifies that this is a streaming URL that should simply be imported and not downloaded. |
(package private) void |
setParent(Tracklist parent)
Initializes the parent track list. |
void |
setQuality(int quality)
Initializes the quality of this track, in bps. |
void |
setQuality(Integer quality)
Initializes the quality of this track, in bps. |
void |
setSize(int size)
Initializes the size of this track, in bytes. |
void |
setSize(Long size)
Initializes the size of this track, in bytes. |
void |
setTitle(String title)
Initializes the track title. |
void |
setUrlString(String url)
Initializes the MIP URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Track()
| Method Detail |
|---|
void setParent(Tracklist parent)
parent - the parent track list. May be null.getParent()public Tracklist getParent()
null.public String getId()
null.setId(java.lang.String)public void setId(String id)
id - an identifier. May be null.getId()public String getUrlString()
null.setUrlString(java.lang.String)public void setUrlString(String url)
url - an URL. May be null.getUrlString()public String getTitle()
null.setTitle(java.lang.String)public void setTitle(String title)
title - a title. May be null.getTitle()public String getAlbum()
null.setAlbum(java.lang.String)public void setAlbum(String album)
album - an album. May be null.getAlbum()public String getArtist()
null.setArtist(java.lang.String)public void setArtist(String artist)
artist - an artist. May be null.getArtist()public String getGenre()
null.setGenre(java.lang.String)public void setGenre(String genre)
genre - a genre. May be null.getGenre()public String getFileName()
null.setFileName(java.lang.String)public void setFileName(String fileName)
fileName - a file name. May be null.getFileName()public Long getSize()
null.setSize(java.lang.Long)public void setSize(Long size)
size - a size. May be null.
IllegalArgumentException - if the specified value is not positive.getSize(),
setSize(int)public void setSize(int size)
size - a size. Shall not be strictly negative.
IllegalArgumentException - if the specified size is not positive.getSize(),
setSize(Long)public String getFormat()
null.setFormat(java.lang.String)public void setFormat(String format)
format - a format. May be null.getFormat()public Integer getQuality()
null.setQuality(java.lang.Integer)public void setQuality(Integer quality)
quality - a quality. May be null.
IllegalArgumentException - if the specified value is not positive.getQuality(),
setQuality(int)public void setQuality(int quality)
quality - a quality. Shall not be strictly negative.
IllegalArgumentException - if the specified quality is not positive.getQuality(),
setQuality(Integer)public Integer getChannels()
null.setChannels(java.lang.Integer)public void setChannels(Integer channels)
channels - a number of channels. May be null.
IllegalArgumentException - if the specified value is not positive.getChannels(),
setChannels(int)public void setChannels(int channels)
channels - a number of channels. Shall not be strictly negative.
IllegalArgumentException - if the specified number of channels is not positive.getChannels(),
setChannels(Integer)public Integer getDuration()
null.setDuration(java.lang.Integer)public void setDuration(Integer duration)
duration - a duration. May be null.
IllegalArgumentException - if the specified value is not positive.getDuration(),
setDuration(int)public void setDuration(int duration)
duration - a duration. Shall not be strictly negative.
IllegalArgumentException - if the specified duration is not positive.getDuration(),
setDuration(Integer)public String getContextInfoUrlString()
null.setContextInfoUrlString(java.lang.String)public void setContextInfoUrlString(String url)
url - an URL. May be null.getContextInfoUrlString()public Integer getContextInfoWidth()
null.setContextInfoWidth(java.lang.Integer)public void setContextInfoWidth(Integer width)
width - a width. May be null.
IllegalArgumentException - if the specified value is not positive.getContextInfoWidth(),
setContextInfoWidth(int)public void setContextInfoWidth(int width)
width - a width. Shall not be strictly negative.
IllegalArgumentException - if the specified width is not positive.getContextInfoWidth(),
setContextInfoWidth(Integer)public Integer getContextInfoHeight()
null.setContextInfoHeight(java.lang.Integer)public void setContextInfoHeight(Integer height)
height - an height. May be null.
IllegalArgumentException - if the specified value is not positive.getContextInfoHeight(),
setContextInfoHeight(int)public void setContextInfoHeight(int height)
height - an height. Shall not be strictly negative.
IllegalArgumentException - if the specified height is not positive.getContextInfoHeight(),
setContextInfoHeight(Integer)public String getIsStreamingString()
null.
null.setIsStreamingString(java.lang.String),
isStreaming()public void setIsStreamingString(String isStreaming)
isStreaming - the streaming URL indicator. May be null.getIsStreamingString(),
setIsStreaming(boolean)public boolean isStreaming()
setIsStreaming(boolean),
getIsStreamingString()public void setIsStreaming(boolean isStreaming)
isStreaming - the streaming URL indicator.isStreaming(),
setIsStreamingString(java.lang.String)
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||