|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.poifs.property.PropertyTableBase
public abstract class PropertyTableBase
This class embodies the Property Table for the filesystem, which looks up entries in the filesystem to their chain of blocks. This is the core support, there are implementations for the different block schemes as needed.
Field Summary | |
---|---|
protected java.util.List<Property> |
_properties
|
Constructor Summary | |
---|---|
PropertyTableBase(HeaderBlock header_block)
|
|
PropertyTableBase(HeaderBlock header_block,
java.util.List<Property> properties)
Reading constructor (used when we've read in a file and we want to extract the property table from it). |
Method Summary | |
---|---|
void |
addProperty(Property property)
Add a property to the list of properties we manage |
RootProperty |
getRoot()
Get the root property |
int |
getStartBlock()
Get the start block for the property table |
void |
removeProperty(Property property)
Remove a property from the list of properties we manage |
void |
setStartBlock(int index)
Set the start block for this instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.poi.poifs.filesystem.BATManaged |
---|
countBlocks |
Field Detail |
---|
protected final java.util.List<Property> _properties
Constructor Detail |
---|
public PropertyTableBase(HeaderBlock header_block)
public PropertyTableBase(HeaderBlock header_block, java.util.List<Property> properties) throws java.io.IOException
header_block
- the first block to read fromproperties
- the list to populate
java.io.IOException
- if anything goes wrong (which should be
a result of the input being NFG)Method Detail |
---|
public void addProperty(Property property)
property
- the new Property to managepublic void removeProperty(Property property)
property
- the Property to be removedpublic RootProperty getRoot()
public int getStartBlock()
public void setStartBlock(int index)
setStartBlock
in interface BATManaged
index
- index into the array of BigBlock instances making
up the the filesystem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |