|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface define needed features for song information. Adapted from Scott Pennell interface.
Method Summary | |
java.lang.String |
getAlbum()
Get the name of the album upon which the song resides |
java.lang.String |
getArtist()
Get the artist that performed the song |
int |
getBitRate()
Get Nominal Bitrate |
int |
getChannels()
Get channels. |
java.util.Vector |
getComment()
Get any comments provided about the song |
java.lang.String |
getGenre()
Get the genre string of the music |
long |
getPlayTime()
Get play time in seconds. |
int |
getSamplingRate()
Get Sampling Rate |
java.lang.String |
getTitle()
Get the title of the song. |
int |
getTrack()
Get the track number of this track on the album |
java.lang.String |
getYear()
Get the year the track was released |
void |
load(java.io.File input)
|
void |
load(java.io.InputStream input)
|
void |
load(java.net.URL input)
|
Method Detail |
public void load(java.io.InputStream input) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
public void load(java.net.URL input) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
public void load(java.io.File input) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
public int getSamplingRate()
public int getBitRate()
public int getChannels()
public long getPlayTime()
public java.lang.String getTitle()
public java.lang.String getArtist()
public java.lang.String getAlbum()
public int getTrack()
public java.lang.String getGenre()
public java.lang.String getYear()
public java.util.Vector getComment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |