org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class FileTypeBox

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
      extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FileTypeBox

public class FileTypeBox
extends Box

4.3.1 Definition

Author:
kulikov, amit abhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
FileTypeBox(long size)
           
 
Method Summary
 java.lang.String[] getCompatibleBrands()
           
 java.lang.String getMajorBrand()
           
 long getMinorVersion()
           
protected  int load(java.io.DataInputStream fin)
          Loads Box from stream.
 java.lang.String toString()
           
 
Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
comparebytes, getSize, getType, read, read16, read24, read32, readFixedPoint1616, readText, readType, readU32, readU64
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileTypeBox

public FileTypeBox(long size)
Method Detail

getMajorBrand

public java.lang.String getMajorBrand()

getMinorVersion

public long getMinorVersion()

getCompatibleBrands

public java.lang.String[] getCompatibleBrands()

load

protected int load(java.io.DataInputStream fin)
            throws java.io.IOException
Description copied from class: Box
Loads Box from stream.

Specified by:
load in class Box
Parameters:
fin - the stream to load box from
Returns:
the number of bytes readed from stream; *
Throws:
java.io.IOException - if some I/O error occured.

toString

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


Copyright © 2010. All Rights Reserved.