FileDocCategorySizeDatePackage
MetadataBlock.javaAPI DocJaudiotagger 2.0.41704Wed Mar 30 16:11:46 BST 2011org.jaudiotagger.audio.flac.metadatablock

MetadataBlock

public class MetadataBlock extends Object
Metadata Block

A FLAC bitstream consists of the "fLaC" marker at the beginning of the stream, followed by a mandatory metadata block (called the STREAMINFO block), any number of other metadata blocks, then the audio frames.

Fields Summary
private MetadataBlockHeader
mbh
private MetadataBlockData
mbd
Constructors Summary
public MetadataBlock(MetadataBlockHeader mbh, MetadataBlockData mbd)

        this.mbh = mbh;
        this.mbd = mbd;
    
Methods Summary
public MetadataBlockDatagetData()

        return mbd;
    
public MetadataBlockHeadergetHeader()

        return mbh;
    
public intgetLength()

        return MetadataBlockHeader.HEADER_LENGTH + mbh.getDataLength();