agjava.mp3
Class MP3Header

java.lang.Object
  |
  +--agjava.mp3.MP3Header

public class MP3Header
extends java.lang.Object


Constructor Summary
MP3Header(java.io.File mp3)
           
MP3Header(java.io.File mp3, int offset)
           
 
Method Summary
 int getBitRate()
           
 java.lang.String getChannelMode()
           
 java.lang.String getEmphasis()
           
 java.lang.String getLayer()
           
 long getLocation()
           
 int getSampleRate()
           
 java.lang.String getVersion()
           
 boolean isCopyrighted()
           
 boolean isMP3()
           
 boolean isOriginal()
           
 boolean isProtected()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MP3Header

public MP3Header(java.io.File mp3)
          throws java.io.FileNotFoundException,
                 java.io.IOException

MP3Header

public MP3Header(java.io.File mp3,
                 int offset)
          throws java.io.FileNotFoundException,
                 java.io.IOException
Method Detail

getBitRate

public int getBitRate()

getChannelMode

public java.lang.String getChannelMode()

getEmphasis

public java.lang.String getEmphasis()

getLayer

public java.lang.String getLayer()

getLocation

public long getLocation()

getSampleRate

public int getSampleRate()

getVersion

public java.lang.String getVersion()

isCopyrighted

public boolean isCopyrighted()

isMP3

public boolean isMP3()

isOriginal

public boolean isOriginal()

isProtected

public boolean isProtected()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object