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

toString

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

getVersion

public java.lang.String getVersion()

getLayer

public java.lang.String getLayer()

getChannelMode

public java.lang.String getChannelMode()

getBitRate

public int getBitRate()

getSampleRate

public int getSampleRate()

isCopyrighted

public boolean isCopyrighted()

isProtected

public boolean isProtected()

isOriginal

public boolean isOriginal()

getEmphasis

public java.lang.String getEmphasis()

getLocation

public long getLocation()

isMP3

public boolean isMP3()