FileDocCategorySizeDatePackage
FontTableBox.javaAPI Docmp4parser 1.0-RC-172444Wed Dec 19 20:10:37 GMT 2012com.googlecode.mp4parser.boxes.threegpp26245

FontTableBox

public class FontTableBox extends com.googlecode.mp4parser.AbstractBox

Fields Summary
List
entries
Constructors Summary
public FontTableBox()


      
        super("ftab");
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        int numberOfRecords = IsoTypeReader.readUInt16(content);
        for (int i = 0; i < numberOfRecords; i++) {
            FontRecord fr = new FontRecord();
            fr.parse(content);
            entries.add(fr);
        }
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        IsoTypeWriter.writeUInt16(byteBuffer, entries.size());
        for (FontRecord record : entries) {
            record.getContent(byteBuffer);
        }
    
protected longgetContentSize()

        int size = 2;
        for (FontRecord fontRecord : entries) {
            size += fontRecord.getSize();
        }
        return size;
    
public java.util.ListgetEntries()

        return entries;
    
public voidsetEntries(java.util.List entries)

        this.entries = entries;