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

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
      extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FullBox
Direct Known Subclasses:
ChunkLargeOffsetBox, ChunkOffsetBox, CompositionOffsetBox, CopyrightBox, DataEntryUrlBox, DataEntryUrnBox, DataReferenceBox, EditListBox, ESDBox, HandlerReferenceBox, HintMediaHeaderBox, MediaHeaderBox, MovieHeaderBox, NullMediaHeaderBox, SampleDescriptionBox, SampleSizeBox, SampleToChunkBox, SoundMediaHeaderBox, SyncSampleBox, TimeToSampleBox, TrackHeaderBox, VideoMediaHeaderBox

public class FullBox
extends Box

Author:
kulikov

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
FullBox(long size, java.lang.String type)
           
 
Method Summary
 int getFlags()
          Gets the map of flags.
 int getVersion()
          Gets the version of the format of the box.
protected  int load(java.io.DataInputStream fin)
          Loads Box from stream.
protected  long read64(java.io.DataInputStream fin)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

FullBox

public FullBox(long size,
               java.lang.String type)
Method Detail

getVersion

public int getVersion()
Gets the version of the format of the box.

Returns:
the integer format identifier.

getFlags

public int getFlags()
Gets the map of flags.

Returns:
the indeteger where loweresrt 24 bits are map of flags.

read64

protected long read64(java.io.DataInputStream fin)
               throws java.io.IOException
Throws:
java.io.IOException

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.


Copyright © 2010. All Rights Reserved.