com.coremedia.iso.boxes
Class AbstractFullBox
java.lang.Object
com.coremedia.iso.boxes.AbstractBox
com.coremedia.iso.boxes.AbstractFullBox
- All Implemented Interfaces:
- Box, FullBox
- Direct Known Subclasses:
- AbstractDescriptorBox, AbstractMediaHeaderBox, AbstractSampleEncryptionBox, AbstractTrackEncryptionBox, AlbumArtistBox, AlbumBox, AppleDataBox, AppleDataRateBox, AppleDataReferenceBox, AppleLosslessSpecificBox, AppleMeanBox, AppleNameBox, AssetInformationBox, AuthorBox, BaseLocationBox, ChunkOffsetBox, ClassificationBox, CompositionShiftLeastGreatestAtom, CompositionTimeToSample, ContentDistributorIdBox, CopyrightBox, CoverUriBox, DataEntryUrlBox, DataEntryUrnBox, DescriptionBox, EditListBox, FullContainerBox, GenreBox, HandlerBox, ItemLocationBox, KeywordsBox, LocationInformationBox, LyricsUriBox, MediaHeaderBox, MovieExtendsHeaderBox, MovieFragmentHeaderBox, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, OmaDrmAccessUnitFormatBox, PerformerBox, ProgressiveDownloadInformationBox, RatingBox, RecordingYearBox, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleSizeBox, SampleToChunkBox, SampleToGroupBox, SchemeTypeBox, SubSampleInformationBox, SyncSampleBox, TfrfBox, TfxdBox, TimeToSampleBox, TitleBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackHeaderBox, TrackRunBox, TrickPlayBox, XmlBox
public abstract class AbstractFullBox
- extends AbstractBox
- implements FullBox
Base class for all ISO Full boxes.
Methods inherited from class com.coremedia.iso.boxes.AbstractBox |
_parseDetails, getBox, getContent, getContentSize, getDeadBytes, getHeader, getIsoFile, getParent, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent, setUserType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFullBox
protected AbstractFullBox(String type)
getVersion
public int getVersion()
- Specified by:
getVersion
in interface FullBox
setVersion
public void setVersion(int version)
- Specified by:
setVersion
in interface FullBox
getFlags
public int getFlags()
- Specified by:
getFlags
in interface FullBox
setFlags
public void setFlags(int flags)
- Specified by:
setFlags
in interface FullBox
parseVersionAndFlags
protected final long parseVersionAndFlags(ByteBuffer content)
- Parses the version/flags header and returns the remaining box size.
- Parameters:
content
-
- Returns:
- number of bytes read
writeVersionAndFlags
protected final void writeVersionAndFlags(ByteBuffer bb)
Copyright © 2012. All Rights Reserved.