javazoom.jlgui.player.amp.tag

Interface TagInfo

Known Implementing Classes:
APEInfo, FlacInfo, MpegInfo, OggVorbisInfo

public interface TagInfo

This interface define needed features for song information. Adapted from Scott Pennell interface.

Method Summary

String
getAlbum()
Get the name of the album upon which the song resides
String
getArtist()
Get the artist that performed the song
int
getBitRate()
Get Nominal Bitrate
int
getChannels()
Get channels.
Vector
getComment()
Get any comments provided about the song
String
getGenre()
Get the genre string of the music
long
getPlayTime()
Get play time in seconds.
int
getSamplingRate()
Get Sampling Rate
String
getTitle()
Get the title of the song.
int
getTrack()
Get the track number of this track on the album
String
getYear()
Get the year the track was released
void
load(File input)
void
load(InputStream input)
void
load(URL input)

Method Details

getAlbum

public String getAlbum()
Get the name of the album upon which the song resides
Returns:
the album name

getArtist

public String getArtist()
Get the artist that performed the song
Returns:
the artist that performed the song

getBitRate

public int getBitRate()
Get Nominal Bitrate
Returns:
bitrate in bps

getChannels

public int getChannels()
Get channels.
Returns:
channels

getComment

public Vector getComment()
Get any comments provided about the song
Returns:
the comments

getGenre

public String getGenre()
Get the genre string of the music
Returns:
the genre string

getPlayTime

public long getPlayTime()
Get play time in seconds.
Returns:
play time in seconds

getSamplingRate

public int getSamplingRate()
Get Sampling Rate
Returns:
sampling rate

getTitle

public String getTitle()
Get the title of the song.
Returns:
the title of the song

getTrack

public int getTrack()
Get the track number of this track on the album
Returns:
the track number

getYear

public String getYear()
Get the year the track was released
Returns:
the year the track was released

load

public void load(File input)
            throws IOException,
                   UnsupportedAudioFileException

load

public void load(InputStream input)
            throws IOException,
                   UnsupportedAudioFileException

load

public void load(URL input)
            throws IOException,
                   UnsupportedAudioFileException

JavaZOOM 1999-2006