This class gives information (audio format and comments) about Ogg Vorbis file or URL.
getAlbum
public String getAlbum()
Get the name of the album upon which the song resides
- getAlbum in interface TagInfo
getArtist
public String getArtist()
Get the artist that performed the song
- getArtist in interface TagInfo
- the artist that performed the song
getAverageBitrate
public int getAverageBitrate()
getBitRate
public int getBitRate()
Get Nominal Bitrate
- getBitRate in interface TagInfo
getComment
public Vector getComment()
Get any comments provided about the song
- getComment in interface TagInfo
getGenre
public String getGenre()
Get the genre string of the music
- getGenre in interface TagInfo
getLocation
public String getLocation()
getMaxBitrate
public int getMaxBitrate()
getMinBitrate
public int getMinBitrate()
getPlayTime
public long getPlayTime()
Get play time in seconds.
- getPlayTime in interface TagInfo
getSerial
public int getSerial()
getSize
public long getSize()
getTitle
public String getTitle()
Get the title of the song.
- getTitle in interface TagInfo
getTrack
public int getTrack()
Get the track number of this track on the album
- getTrack in interface TagInfo
getVendor
public String getVendor()
getVersion
public int getVersion()
getYear
public String getYear()
Get the year the track was released
- getYear in interface TagInfo
- the year the track was released
load
public void load(File input)
throws IOException,
UnsupportedAudioFileException
Load and parse Ogg Vorbis info from File.
- load in interface TagInfo
load
public void load(InputStream input)
throws IOException,
UnsupportedAudioFileException
Load and parse Ogg Vorbis info from InputStream.
- load in interface TagInfo
load
public void load(URL input)
throws IOException,
UnsupportedAudioFileException
Load and parse Ogg Vorbis info from URL.
- load in interface TagInfo
loadExtendedInfo
protected void loadExtendedInfo(AudioFileFormat aff)
throws IOException,
UnsupportedAudioFileException
Load extended info from AudioFileFormat.
loadInfo
protected void loadInfo(AudioFileFormat aff)
throws UnsupportedAudioFileException
Load info from AudioFileFormat.
loadInfo
protected void loadInfo(File file)
throws IOException,
UnsupportedAudioFileException
Load Ogg Vorbis info from file.
loadInfo
protected void loadInfo(InputStream input)
throws IOException,
UnsupportedAudioFileException
Load info from input stream.
loadInfo
protected void loadInfo(URL input)
throws IOException,
UnsupportedAudioFileException
Load Ogg Vorbis info from URL.