| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private IntegerField | |
| private static final int | |
| private IntegerField | |
| private static final int | |
| private IntegerField | |
| private static final int | |
| private static final byte | |
| private int | |
| private static final int | |
| private String | |
| private ShortField | |
| private static final int | |
| private Child | |
| private IntegerField | |
| private static final int | |
| protected static final int | |
| protected static final byte | |
| private ByteField | |
| private static final int | |
| protected static final byte | |
| private Child | |
| private IntegerField | |
| private static final int | |
| private ByteField | |
| private byte[] | |
| private IntegerField | |
| private static final int | |
| private IntegerField | |
| private static final int | |
| private IntegerField | |
| private static final int | |
| private IntegerField | |
| private static final int | |
| private ClassID | |
| private static final int | |
| private IntegerField | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | Property(int
index number index, byte[] byte data array, int offset into byte data offset)Constructor from byte data |
| Modifier and Type | Method and Description |
|---|---|
| protected int | Returns: child property indexGet the child property (its index in the Property Table) |
| protected int | Returns: the index of this Property within its Property Tableget the index for this Property |
| public String | |
| public Child | Returns: the next Child; may return nullImplements org. Get the next Child, if any |
| pack-priv int | |
| public Child | Returns: the previous Child; may return nullImplements org. Get the previous Child, if any |
| pack-priv int | |
| public String | Returns: short descriptionImplements org. Provides a short description of the object, to be used when a POIFSViewable object has not provided its contents. |
| public int | |
| public int | |
| public ClassID | Returns: storage Class ID for this property streamSets the storage clsid, which is the Class ID of a COM object which reads and writes this stream |
| public Object[] | Returns: an array of Object; may not be null, but may be emptyImplements org. Get an array of objects, some of which may implement POIFSViewable |
| public Iterator | Returns: an Iterator; may not be null, but may have an empty back end storeImplements org. Get an Iterator of objects, some of which may implement POIFSViewable |
| public abstract boolean | |
| public static boolean | Returns: true if the length is less than _big_block_minimum_byteslength in bytes length)does the length indicate a small document? |
| pack-priv static boolean | Returns: true if the index is validvalue to be checked index)determine whether the specified index is valid |
| public boolean | Returns: true if a viewer should call getViewableArray, false if a viewer should call getViewableIteratorImplements org. Give viewers a hint as to whether to call getViewableArray or getViewableIterator |
| protected abstract void | |
| protected void | |
| protected void | setIndex(int
this Property's index within its containing
Property Table index)Set the index for this Property |
| protected void | |
| public void | setNextChild(Child
the new 'next' child; may be null, which has the
effect of saying there is no 'next' child child)Implements org. Set the next Child |
| protected void | |
| public void | setPreviousChild(Child
the new 'previous' child; may be null, which has
the effect of saying there is no 'previous' child child)Implements org. Set the previous Child |
| protected void | |
| protected void | setSize(int
the size of the document, in bytes size)Set the size of the document associated with this Property |
| public void | setStartBlock(int
the start block index startBlock)Set the start block for the document referred to by this Property. |
| public void | setStorageClsid(ClassID
Storage Class ID clsidStorage)Sets the storage class ID for this property stream. |
| public boolean | Returns: true if the size is less than _big_block_minimum_bytesBased on the currently defined size, should this property use small blocks? |
| public void | writeData(OutputStream
the OutputStream to which the data should be
written. stream)Write the raw data to an OutputStream. |
| _big_block_minimum_bytes | back to summary |
|---|---|
| private static final int _big_block_minimum_bytes | |
| _child_property | back to summary |
|---|---|
| private IntegerField _child_property | |
| _child_property_offset | back to summary |
|---|---|
| private static final int _child_property_offset | |
| _days_1 | back to summary |
|---|---|
| private IntegerField _days_1 | |
| _days_1_offset | back to summary |
|---|---|
| private static final int _days_1_offset | |
| _days_2 | back to summary |
|---|---|
| private IntegerField _days_2 | |
| _days_2_offset | back to summary |
|---|---|
| private static final int _days_2_offset | |
| _default_fill | back to summary |
|---|---|
| private static final byte _default_fill | |
| _index | back to summary |
|---|---|
| private int _index | |
| _max_name_length | back to summary |
|---|---|
| private static final int _max_name_length | |
| _name | back to summary |
|---|---|
| private String _name | |
| _name_size | back to summary |
|---|---|
| private ShortField _name_size | |
| _name_size_offset | back to summary |
|---|---|
| private static final int _name_size_offset | |
| _next_child | back to summary |
|---|---|
| private Child _next_child | |
| _next_property | back to summary |
|---|---|
| private IntegerField _next_property | |
| _next_property_offset | back to summary |
|---|---|
| private static final int _next_property_offset | |
| _NO_INDEX | back to summary |
|---|---|
| protected static final int _NO_INDEX | |
| _NODE_BLACK | back to summary |
|---|---|
| protected static final byte _NODE_BLACK | |
| _node_color | back to summary |
|---|---|
| private ByteField _node_color | |
| _node_color_offset | back to summary |
|---|---|
| private static final int _node_color_offset | |
| _NODE_RED | back to summary |
|---|---|
| protected static final byte _NODE_RED | |
| _previous_child | back to summary |
|---|---|
| private Child _previous_child | |
| _previous_property | back to summary |
|---|---|
| private IntegerField _previous_property | |
| _previous_property_offset | back to summary |
|---|---|
| private static final int _previous_property_offset | |
| _property_type | back to summary |
|---|---|
| private ByteField _property_type | |
| _raw_data | back to summary |
|---|---|
| private byte[] _raw_data | |
| _seconds_1 | back to summary |
|---|---|
| private IntegerField _seconds_1 | |
| _seconds_1_offset | back to summary |
|---|---|
| private static final int _seconds_1_offset | |
| _seconds_2 | back to summary |
|---|---|
| private IntegerField _seconds_2 | |
| _seconds_2_offset | back to summary |
|---|---|
| private static final int _seconds_2_offset | |
| _size | back to summary |
|---|---|
| private IntegerField _size | |
| _size_offset | back to summary |
|---|---|
| private static final int _size_offset | |
| _start_block | back to summary |
|---|---|
| private IntegerField _start_block | |
| _start_block_offset | back to summary |
|---|---|
| private static final int _start_block_offset | |
| _storage_clsid | back to summary |
|---|---|
| private ClassID _storage_clsid | |
| _storage_clsid_offset | back to summary |
|---|---|
| private static final int _storage_clsid_offset | |
| _user_flags | back to summary |
|---|---|
| private IntegerField _user_flags | |
| _user_flags_offset | back to summary |
|---|---|
| private static final int _user_flags_offset | |
| Property | back to summary |
|---|---|
| protected Property() | |
| Property | back to summary |
|---|---|
| protected Property(int index, byte[] array, int offset) Constructor from byte data
| |
| getChildIndex | back to summary |
|---|---|
| protected int getChildIndex() Get the child property (its index in the Property Table)
| |
| getIndex | back to summary |
|---|---|
| protected int getIndex() get the index for this Property
| |
| getName | back to summary |
|---|---|
| public String getName() Get the name of this property
| |
| getNextChild | back to summary |
|---|---|
| public Child getNextChild() Implements org. Get the next Child, if any
| |
| getNextChildIndex | back to summary |
|---|---|
| pack-priv int getNextChildIndex() get the next sibling
| |
| getPreviousChild | back to summary |
|---|---|
| public Child getPreviousChild() Implements org. Get the previous Child, if any
| |
| getPreviousChildIndex | back to summary |
|---|---|
| pack-priv int getPreviousChildIndex() get the previous sibling
| |
| getShortDescription | back to summary |
|---|---|
| public String getShortDescription() Implements org. Provides a short description of the object, to be used when a POIFSViewable object has not provided its contents.
| |
| getSize | back to summary |
|---|---|
| public int getSize() find out the document size
| |
| getStartBlock | back to summary |
|---|---|
public int getStartBlock()
| |
| getStorageClsid | back to summary |
|---|---|
| public ClassID getStorageClsid() Sets the storage clsid, which is the Class ID of a COM object which reads and writes this stream
| |
| getViewableArray | back to summary |
|---|---|
| public Object[] getViewableArray() Implements org. Get an array of objects, some of which may implement POIFSViewable
| |
| getViewableIterator | back to summary |
|---|---|
| public Iterator Implements org. Get an Iterator of objects, some of which may implement POIFSViewable | |
| isDirectory | back to summary |
|---|---|
public abstract boolean isDirectory()
| |
| isSmall | back to summary |
|---|---|
| public static boolean isSmall(int length) does the length indicate a small document?
| |
| isValidIndex | back to summary |
|---|---|
| pack-priv static boolean isValidIndex(int index) determine whether the specified index is valid
| |
| preferArray | back to summary |
|---|---|
| public boolean preferArray() Implements org. Give viewers a hint as to whether to call getViewableArray or getViewableIterator
| |
| preWrite | back to summary |
|---|---|
| protected abstract void preWrite() Perform whatever activities need to be performed prior to writing | |
| setChildProperty | back to summary |
|---|---|
| protected void setChildProperty(int child) Set the child property.
| |
| setIndex | back to summary |
|---|---|
| protected void setIndex(int index) Set the index for this Property
| |
| setName | back to summary |
|---|---|
| protected void setName(String name) Set the name; silently truncates the name if it's too long.
| |
| setNextChild | back to summary |
|---|---|
| public void setNextChild(Child child) Implements org. Set the next Child
| |
| setNodeColor | back to summary |
|---|---|
| protected void setNodeColor(byte nodeColor) Set the node color.
| |
| setPreviousChild | back to summary |
|---|---|
| public void setPreviousChild(Child child) Implements org. Set the previous Child
| |
| setPropertyType | back to summary |
|---|---|
| protected void setPropertyType(byte propertyType) Set the property type. Makes no attempt to validate the value.
| |
| setSize | back to summary |
|---|---|
| protected void setSize(int size) Set the size of the document associated with this Property
| |
| setStartBlock | back to summary |
|---|---|
| public void setStartBlock(int startBlock) Set the start block for the document referred to by this Property.
| |
| setStorageClsid | back to summary |
|---|---|
| public void setStorageClsid(ClassID clsidStorage) Sets the storage class ID for this property stream. This is the Class ID of the COM object which can read and write this property stream
| |
| shouldUseSmallBlocks | back to summary |
|---|---|
| public boolean shouldUseSmallBlocks() Based on the currently defined size, should this property use small blocks?
| |
| writeData | back to summary |
|---|---|
| public void writeData(OutputStream stream) throws IOException Write the raw data to an OutputStream.
| |