Package org.mp4parser
Interface ParsableBox
-
- All Superinterfaces:
Box
- All Known Subinterfaces:
FullBox
,SampleEntry
- All Known Implementing Classes:
AbstractBox
,AbstractContainerBox
,AbstractDescriptorBox
,AbstractFullBox
,AbstractMediaHeaderBox
,AbstractSampleEncryptionBox
,AbstractSampleEntry
,AbstractTrackEncryptionBox
,AC3SpecificBox
,ActionMessageFormat0SampleEntryBox
,AlbumBox
,AmrSpecificBox
,Apple_atIDBox
,Apple_flvr_Box
,Apple_geIDBox
,Apple_xid_Box
,AppleAlbumBox
,AppleAppleIdBox
,AppleArtist2Box
,AppleArtistBox
,AppleCommentBox
,AppleCompilationBox
,AppleCopyrightBox
,AppleCountryTypeBoxBox
,AppleCoverBox
,AppleDataBox
,AppleDataRateBox
,AppleDataReferenceBox
,AppleDescriptionBox
,AppleDiskNumberBox
,AppleEncoderBox
,AppleGaplessPlaybackBox
,AppleGenreBox
,AppleGenreIDBox
,AppleGPSCoordinatesBox
,AppleGroupingBox
,AppleItemListBox
,AppleLongDescriptionBox
,AppleLosslessSpecificBox
,AppleLyricsBox
,AppleMediaTypeBox
,AppleNameBox
,ApplePurchaseDateBox
,AppleRecordingYear2Box
,AppleRecordingYearBox
,AppleReferenceMovieBox
,AppleReferenceMovieDescriptorBox
,AppleShortDescriptionBox
,AppleSortAlbumBox
,AppleTempoBox
,AppleTrackAuthorBox
,AppleTrackNumberBox
,AppleTVEpisodeBox
,AppleTVEpisodeNumberBox
,AppleTVNetworkBox
,AppleTVSeasonBox
,AppleTVShowBox
,AppleVariableSignedIntegerBox
,AppleWaveBox
,AssetInformationBox
,AudioSampleEntry
,AuthorBox
,AvcConfigurationBox
,AvcNalUnitStorageBox
,BaseLocationBox
,BaseMediaInfoAtom
,BitRateBox
,ChunkOffset64BitBox
,ChunkOffsetBox
,ClassificationBox
,CleanApertureAtom
,CompositionTimeToSample
,CompositionToDecodeBox
,ContentInformationBox
,CopyrightBox
,DataEntryUrlBox
,DataEntryUrnBox
,DataInformationBox
,DataReferenceBox
,DegradationPriorityBox
,DescriptionBox
,DfxpSampleEntry
,DoViConfigurationBox
,DTSSpecificBox
,EC3SpecificBox
,EditBox
,EditListBox
,ESDescriptorBox
,EventMessageBox
,FileTypeBox
,FontTableBox
,FreeBox
,FreeSpaceBox
,FullContainerBox
,GenericMediaHeaderAtom
,GenericMediaHeaderTextAtom
,GenreBox
,HandlerBox
,HevcConfigurationBox
,HintMediaHeaderBox
,HintSampleEntry
,ItemDataBox
,ItemLocationBox
,ItemProtectionBox
,KeywordsBox
,LocationInformationBox
,MediaBox
,MediaDataBox
,MediaHeaderBox
,MediaInformationBox
,MetaBox
,MLPSpecificBox
,MovieBox
,MovieExtendsBox
,MovieExtendsHeaderBox
,MovieFragmentBox
,MovieFragmentHeaderBox
,MovieFragmentRandomAccessBox
,MovieFragmentRandomAccessOffsetBox
,MovieHeaderBox
,MpegSampleEntry
,NullMediaHeaderBox
,OmaDrmAccessUnitFormatBox
,OriginalFormatBox
,Ovc1VisualSampleEntryImpl
,PerformerBox
,PiffSampleEncryptionBox
,PiffTrackEncryptionBox
,PixelAspectRationAtom
,PriotityRangeBox
,ProgressiveDownloadInformationBox
,ProtectionSchemeInformationBox
,ProtectionSystemSpecificHeaderBox
,QuicktimeTextSampleEntry
,RatingBox
,RecordingYearBox
,SampleAuxiliaryInformationOffsetsBox
,SampleAuxiliaryInformationSizesBox
,SampleDependencyTypeBox
,SampleDescriptionBox
,SampleEncryptionBox
,SampleGroupDescriptionBox
,SampleSizeBox
,SampleTableBox
,SampleToChunkBox
,SampleToGroupBox
,SchemeInformationBox
,SchemeTypeBox
,SegmentIndexBox
,SegmentTypeBox
,SkipBox
,SoundMediaHeaderBox
,StaticChunkOffsetBox
,SubSampleInformationBox
,SubtitleMediaHeaderBox
,SyncSampleBox
,TextSampleEntry
,TfrfBox
,TfxdBox
,TierBitRateBox
,TierInfoBox
,TimeCodeBox
,TimeToSampleBox
,TitleBox
,TrackApertureModeDimensionAtom
,TrackBox
,TrackEncodedPixelsDimensionsAtom
,TrackEncryptionBox
,TrackExtendsBox
,TrackFragmentBaseMediaDecodeTimeBox
,TrackFragmentBox
,TrackFragmentHeaderBox
,TrackFragmentRandomAccessBox
,TrackHeaderBox
,TrackLoadSettingsAtom
,TrackProductionApertureDimensionsAtom
,TrackReferenceBox
,TrackReferenceTypeBox
,TrackRunBox
,TrickPlayBox
,UnknownBox
,UserBox
,UserDataBox
,Utf8AppleDataBox
,UuidBasedProtectionSystemSpecificHeaderBox
,VideoMediaHeaderBox
,VisualSampleEntry
,WebVTTConfigurationBox
,WebVTTSampleEntry
,WebVTTSourceLabelBox
,XmlBox
,XMLSubtitleSampleEntry
,XtraBox
public interface ParsableBox extends Box
This box is parsable and can not only be used to write data it can as well be used to read data.
-
-
Method Summary
Modifier and Type Method Description void
parse(ReadableByteChannel dataSource, ByteBuffer header, long contentSize, BoxParser boxParser)
Parses the box excluding the already parsed header (size, 4cc, [long-size], [user-type]).
-
-
-
Method Detail
-
parse
void parse(ReadableByteChannel dataSource, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException
Parses the box excluding the already parsed header (size, 4cc, [long-size], [user-type]). The remaining size of the box is thecontentSize
,contentSize
number of bytes should be read from the box source (readableByteChannel
). If you need theheader
buffer at a later stage you have to create a copy.- Parameters:
dataSource
- the source for this boxheader
- the box' already parsed header (create copy if you need it later as it will be overwritten)contentSize
- remaining bytes of this boxboxParser
- use it to parse sub-boxes.- Throws:
IOException
- in case of an error during a read operation
-
-