POIFSFileSystem;
this is basically the directory for all of the documents in the
filesystem and looks up entries in the filesystem to their
chain of blocks.
| Modifier and Type | Field and Description |
|---|---|
| private final POIFSBigBlockSize | |
| private final HeaderBlock | |
| private final List | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PropertyTable(final HeaderBlock
the header block of the file headerBlock, final POIFSFileSystem the filesystem to read from filesystem)reading constructor (used when we've read in a file and we want to extract the property table from it). |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addProperty(Property
the new Property to manage property)Add a property to the list of properties we manage |
| public int | Returns: count of BigBlock instancesImplements org. Return the number of BigBlock's this instance uses |
| public RootProperty | |
| public int | |
| private boolean | |
| private void | |
| public void | |
| public void | removeProperty(final Property
the Property to be removed property)Remove a property from the list of properties we manage |
| public void | setStartBlock(final int
index into the array of BigBlock instances making
up the filesystem index)Implements org. Set the start block for this instance |
| public void |
| _bigBigBlockSize | back to summary |
|---|---|
| private final POIFSBigBlockSize _bigBigBlockSize | |
| _header_block | back to summary |
|---|---|
| private final HeaderBlock _header_block | |
| _properties | back to summary |
|---|---|
| private final List<Property> _properties | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| PropertyTable | back to summary |
|---|---|
| public PropertyTable(HeaderBlock headerBlock) | |
| PropertyTable | back to summary |
|---|---|
| public PropertyTable(final HeaderBlock headerBlock, final POIFSFileSystem filesystem) throws IOException reading constructor (used when we've read in a file and we want to extract the property table from it). Populates the properties thoroughly
| |
| PropertyTable | back to summary |
|---|---|
| pack-priv PropertyTable(final HeaderBlock headerBlock, final Iterable<ByteBuffer> dataSource) throws IOException | |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property property) Add a property to the list of properties we manage
| |
| countBlocks | back to summary |
|---|---|
| public int countBlocks() Implements org. Return the number of BigBlock's this instance uses
| |
| getRoot | back to summary |
|---|---|
| public RootProperty getRoot() Get the root property
| |
| getStartBlock | back to summary |
|---|---|
| public int getStartBlock() Get the start block for the property table
| |
| isValidIndex | back to summary |
|---|---|
| private boolean isValidIndex(int index) | |
| populatePropertyTree | back to summary |
|---|---|
| private void populatePropertyTree(DirectoryProperty root) throws IOException | |
| preWrite | back to summary |
|---|---|
| public void preWrite() Prepare to be written | |
| removeProperty | back to summary |
|---|---|
| public void removeProperty(final Property property) Remove a property from the list of properties we manage
| |
| setStartBlock | back to summary |
|---|---|
| public void setStartBlock(final int index) Implements org. Set the start block for this instance
| |
| write | back to summary |
|---|---|
| public void write(POIFSStream stream) throws IOException Writes the properties out into the given low-level stream | |