org.xnap.io
Class MP3MetaInfo

java.lang.Object
  extended by org.xnap.io.MP3MetaInfo

public class MP3MetaInfo
extends java.lang.Object

MP3 header format documented at: http://mp3tech.free.fr/programmers/frame_header.html


Nested Class Summary
static class MP3MetaInfo.Provider
           
 
Constructor Summary
MP3MetaInfo(MetaInfoFile file)
           
 
Method Summary
 int getBitrate()
           
 int getFrequency()
           
 java.lang.String getInfo()
           
 long getPlayingTime()
          Returns the length of the file in seconds.
static boolean handle(MetaInfoFile file)
           
static boolean hasInfo(MetaInfoFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MP3MetaInfo

public MP3MetaInfo(MetaInfoFile file)
Method Detail

getBitrate

public int getBitrate()

getFrequency

public int getFrequency()

getPlayingTime

public long getPlayingTime()
Returns the length of the file in seconds.


getInfo

public java.lang.String getInfo()

hasInfo

public static boolean hasInfo(MetaInfoFile file)

handle

public static boolean handle(MetaInfoFile file)
See Also:
MetaInfoProvider.handle(org.xnap.io.MetaInfoFile)


Copyright © 2001-2005 XNap Team. All Rights Reserved.