This class gives information (audio format and comments) about MPEG file or URL.
album
protected String album
artist
protected String artist
channels
protected int channels
channelsMode
protected String channelsMode
comments
protected Vector comments
copyright
protected boolean copyright
emphasis
protected String emphasis
genre
protected String genre
layer
protected String layer
location
protected String location
nominalbitrate
protected int nominalbitrate
original
protected boolean original
priv
protected boolean priv
title
protected String title
total
protected long total
vendor
protected String vendor
version
protected String version
year
protected String year
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
getBitRate
public int getBitRate()
Get Nominal Bitrate
- getBitRate in interface TagInfo
getCRC
public boolean getCRC()
getChannelsMode
public String getChannelsMode()
Get channels mode.
getComment
public Vector getComment()
Get any comments provided about the song
- getComment in interface TagInfo
getCopyright
public boolean getCopyright()
getEmphasis
public String getEmphasis()
getGenre
public String getGenre()
Get the genre string of the music
- getGenre in interface TagInfo
getLayer
public String getLayer()
getLocation
public String getLocation()
getOriginal
public boolean getOriginal()
getPlayTime
public long getPlayTime()
Get play time in seconds.
- getPlayTime in interface TagInfo
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
getVBR
public boolean getVBR()
getVersion
public String 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 MPEG info from File.
- load in interface TagInfo
load
public void load(InputStream input)
throws IOException,
UnsupportedAudioFileException
Load and parse MPEG info from InputStream.
- load in interface TagInfo
load
public void load(URL input)
throws IOException,
UnsupportedAudioFileException
Load and parse MPEG info from URL.
- load in interface TagInfo
loadInfo
protected void loadInfo(AudioFileFormat aff)
throws UnsupportedAudioFileException
Load info from AudioFileFormat.
loadInfo
protected void loadInfo(File file)
throws IOException,
UnsupportedAudioFileException
Load MP3 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 MP3 info from URL.
loadShoutastInfo
protected void loadShoutastInfo(AudioFileFormat aff)
throws IOException,
UnsupportedAudioFileException
Load Shoutcast info from AudioFileFormat.