class OggFileRef extends Object
Modifier and Type | Field and Description |
---|---|
private JOrbisComment |
jOrbisComment_
Select This song for playing.
|
String |
name_
File Name of the song.
|
private boolean |
selected_
Select This song for playing.
|
URL |
url_
The URL for the song resource.
|
private VorbisInfo |
vorbisInfo_
The VorbisInfo object for this file.
|
Constructor and Description |
---|
OggFileRef(URL newUrl)
Constructor for the OggFileRef object
|
Modifier and Type | Method and Description |
---|---|
String |
getAlbum()
Gets the ALBUM Comment for this ogg vorbis file.
|
String |
getArtist()
Gets the Artist Comment for this ogg vorbis file.
|
String |
getArtistAlbumTrackNum()
Gets a concatenation of Artist Album and Track# Comment for this ogg vorbis file.
|
String |
getArtistAlbumTrackTitle()
Gets a concatenation of Artist Album and Track Title Comment for this ogg vorbis file.
|
long |
getBitrate()
Gets the average bitrate for this ogg vorbis file.
|
int |
getChannels()
Gets the numer of Channels for this ogg vorbis file.
|
String |
getTitle()
Gets the Song Title Comment for this ogg vorbis file.
|
int |
getTrackNumber()
Gets the TRACKNUMBER Comment for this ogg vorbis file.
|
private void |
initVorbisComment()
Instantiates the JOrbisComment Object
|
boolean |
isSongSelected()
Gets the songSelected attribute of the OggFileRef object
|
boolean |
setAlbum(String value)
Sets the Album Comment for this ogg vorbis file.
|
boolean |
setArtist(String value)
Sets the Artist Comment for this ogg vorbis file.
|
boolean |
setGenre(String value)
Sets the genre num for this ogg vorbis file.
|
void |
setSelected(boolean s)
Sets the selected attribute of the OggFileRef object
|
boolean |
setTitle(String value)
Sets the Title Comment for this ogg vorbis file.
|
boolean |
setTracknumber(String value)
Sets the Track num for this ogg vorbis file.
|
boolean |
setTrackTotal(String value)
Sets the Track total for this ogg vorbis file.
|
String |
toString()
Prints out the information from an Ogg Vorbis stream in a
nice, humanly-readable format.
|
private boolean selected_
private VorbisInfo vorbisInfo_
private JOrbisComment jOrbisComment_
OggFileRef(URL newUrl)
newUrl
- Description of the Parameterprivate void initVorbisComment()
public boolean isSongSelected()
public long getBitrate()
public int getChannels()
public boolean setTracknumber(String value)
public boolean setTrackTotal(String value)
public String getArtistAlbumTrackNum()
public String getArtistAlbumTrackTitle()
public String getArtist()
public String getTitle()
public String getAlbum()
public int getTrackNumber()
public void setSelected(boolean s)
s
- The new selected valueWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses