com.coremedia.iso.boxes
Class MovieBox

java.lang.Object
  extended by com.coremedia.iso.boxes.AbstractBox
      extended by com.coremedia.iso.boxes.AbstractContainerBox
          extended by com.coremedia.iso.boxes.MovieBox
All Implemented Interfaces:
Box, ContainerBox

public class MovieBox
extends AbstractContainerBox

The metadata for a presentation is stored in the single Movie Box which occurs at the top-level of a file. Normally this box is close to the beginning or end of the file, though this is not required.


Field Summary
static String TYPE
           
 
Fields inherited from class com.coremedia.iso.boxes.AbstractContainerBox
boxes, boxParser
 
Fields inherited from class com.coremedia.iso.boxes.AbstractBox
deadBytes, type
 
Constructor Summary
MovieBox()
           
 
Method Summary
 MovieHeaderBox getMovieHeaderBox()
           
 int getTrackCount()
           
 long[] getTrackNumbers()
          Returns the track numbers associated with this MovieBox.
 
Methods inherited from class com.coremedia.iso.boxes.AbstractContainerBox
_parseDetails, addBox, getBoxes, getBoxes, getBoxes, getContent, getContentSize, getNumOfBytesToFirstChild, parse, parseChildBoxes, removeBox, setBoxes, toString, writeChildBoxes
 
Methods inherited from class com.coremedia.iso.boxes.AbstractBox
getBox, getDeadBytes, getHeader, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parseDetails, setDeadBytes, setParent, setUserType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.coremedia.iso.boxes.ContainerBox
getIsoFile, getParent
 
Methods inherited from interface com.coremedia.iso.boxes.Box
getBox, getSize, getType, setParent
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

MovieBox

public MovieBox()
Method Detail

getTrackCount

public int getTrackCount()

getTrackNumbers

public long[] getTrackNumbers()
Returns the track numbers associated with this MovieBox.

Returns:
the tracknumbers (IDs) of the tracks in their order of appearance in the file

getMovieHeaderBox

public MovieHeaderBox getMovieHeaderBox()


Copyright © 2012. All Rights Reserved.