entagged.audioformats.mp3.util
Class XingMPEGFrame

java.lang.Object
  extended by entagged.audioformats.mp3.util.XingMPEGFrame
All Implemented Interfaces:
VbrInfoFrame

public class XingMPEGFrame
extends Object
implements VbrInfoFrame

Creates a representation of a Xing Mpeg frame $Id: XingMPEGFrame.java,v 1.1 2007/03/23 14:17:03 nicov1 Exp $

Version:
v0.03
Author:
Rapha�l Slinckx (KiKiDonK)

Constructor Summary
XingMPEGFrame(byte[] bytesPart1, byte[] bytesPart2)
          Creates a Xing Frame with the two given sets of data
 
Method Summary
 int getFileSize()
           
 int getFrameCount()
          Gets the frameCount attribute of the XingMPEGFrame object
 boolean isValid()
          Check if this tag is valid
 boolean isVbr()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XingMPEGFrame

public XingMPEGFrame(byte[] bytesPart1,
                     byte[] bytesPart2)
Creates a Xing Frame with the two given sets of data

Parameters:
bytesPart1 - the array of bytes before the 100bytes long Xing central data
bytesPart2 - the array of bytes after the 100bytes long Xing central data
Method Detail

getFrameCount

public int getFrameCount()
Gets the frameCount attribute of the XingMPEGFrame object

Specified by:
getFrameCount in interface VbrInfoFrame
Returns:
The frameCount value

isValid

public boolean isValid()
Check if this tag is valid

Specified by:
isValid in interface VbrInfoFrame
Returns:
is the tag valid ?

isVbr

public boolean isVbr()
Specified by:
isVbr in interface VbrInfoFrame

getFileSize

public int getFileSize()
Specified by:
getFileSize in interface VbrInfoFrame

toString

public String toString()
Overrides:
toString in class Object
Returns:
a string representation of thisa Xing Frame


Copyright © 2007-2008. All Rights Reserved.