javazoom.jlGui.tag
Class MpegInfo

java.lang.Object
  |
  +--javazoom.jlGui.tag.MpegInfo
All Implemented Interfaces:
TagInfo

public class MpegInfo
extends java.lang.Object
implements TagInfo

This class gives information (audio format and comments) about MPEG file.


Constructor Summary
MpegInfo(java.lang.String input)
          Constructor.
 
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
 java.lang.String getChannels()
           
 java.util.Vector getComment()
          Get any comments provided about the song
 boolean getCopyright()
           
 boolean getCRC()
           
 java.lang.String getEmphasis()
           
 java.lang.String getGenre()
          Get the genre string of the music
 java.lang.String getLayer()
           
 java.lang.String getLocation()
           
 boolean getOriginal()
           
 long getPlayTime()
          Get play time in seconds.
 int getSamplingRate()
          Get Sampling Rate
 long getSize()
           
 java.lang.String getTitle()
          Get the title of the song.
 int getTrack()
          Get the track number of this track on the album
 boolean getVBR()
           
 java.lang.String getVersion()
           
 java.lang.String getYear()
          Get the year the track was released
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MpegInfo

public MpegInfo(java.lang.String input)
         throws javazoom.jl.decoder.JavaLayerException,
                java.io.IOException,
                helliker.id3.ID3Exception
Constructor.

Parameters:
input -
Throws:
java.io.IOException
javazoom.jl.decoder.JavaLayerException
helliker.id3.ID3Exception
Method Detail

getVBR

public boolean getVBR()

getChannels

public java.lang.String getChannels()

getVersion

public java.lang.String getVersion()

getEmphasis

public java.lang.String getEmphasis()

getCopyright

public boolean getCopyright()

getCRC

public boolean getCRC()

getOriginal

public boolean getOriginal()

getLayer

public java.lang.String getLayer()

getSize

public long getSize()

getLocation

public java.lang.String getLocation()

getSamplingRate

public int getSamplingRate()
Description copied from interface: TagInfo
Get Sampling Rate

Specified by:
getSamplingRate in interface TagInfo
Returns:

getBitRate

public int getBitRate()
Description copied from interface: TagInfo
Get Nominal Bitrate

Specified by:
getBitRate in interface TagInfo
Returns:
bitrate in bps

getPlayTime

public long getPlayTime()
Description copied from interface: TagInfo
Get play time in seconds.

Specified by:
getPlayTime in interface TagInfo
Returns:

getTitle

public java.lang.String getTitle()
Description copied from interface: TagInfo
Get the title of the song.

Specified by:
getTitle in interface TagInfo
Returns:
the title of the song

getArtist

public java.lang.String getArtist()
Description copied from interface: TagInfo
Get the artist that performed the song

Specified by:
getArtist in interface TagInfo
Returns:
the artist that performed the song

getAlbum

public java.lang.String getAlbum()
Description copied from interface: TagInfo
Get the name of the album upon which the song resides

Specified by:
getAlbum in interface TagInfo
Returns:
the album name

getTrack

public int getTrack()
Description copied from interface: TagInfo
Get the track number of this track on the album

Specified by:
getTrack in interface TagInfo
Returns:
the track number

getGenre

public java.lang.String getGenre()
Description copied from interface: TagInfo
Get the genre string of the music

Specified by:
getGenre in interface TagInfo
Returns:
the genre string

getComment

public java.util.Vector getComment()
Description copied from interface: TagInfo
Get any comments provided about the song

Specified by:
getComment in interface TagInfo
Returns:
the comments

getYear

public java.lang.String getYear()
Description copied from interface: TagInfo
Get the year the track was released

Specified by:
getYear in interface TagInfo
Returns:
the year the track was released


JavaZOOM 1999-2003