FileDocCategorySizeDatePackage
RootProperty.javaAPI DocApache Poi 3.0.12100Mon Jan 01 12:39:36 GMT 2007org.apache.poi.poifs.property

RootProperty

public class RootProperty extends DirectoryProperty
Root property
author
Marc Johnson (mjohnson at apache dot org)

Fields Summary
Constructors Summary
RootProperty()
Default constructor

        super("Root Entry");

        // overrides
        setNodeColor(_NODE_BLACK);
        setPropertyType(PropertyConstants.ROOT_TYPE);
        setStartBlock(POIFSConstants.END_OF_CHAIN);
    
protected RootProperty(int index, byte[] array, int offset)
reader constructor

param
index index number
param
array byte data
param
offset offset into byte data

        super(index, array, offset);
    
Methods Summary
public voidsetSize(int size)
set size

param
size size in terms of small blocks

        super.setSize(SmallDocumentBlock.calcSize(size));