|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.poifs.property.PropertyTable
public class PropertyTable
This class embodies the Property Table for the filesystem; this is basically the dsirectory for all of the documents in the filesystem.
| Constructor Summary | |
|---|---|
PropertyTable()
Default constructor |
|
PropertyTable(int startBlock,
RawDataBlockList blockList)
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 |
int |
countBlocks()
Return the number of BigBlock's this instance uses |
RootProperty |
getRoot()
Get the root property |
int |
getStartBlock()
Get the start block for the property table |
void |
preWrite()
Prepare to be written |
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 |
void |
writeBlocks(java.io.OutputStream stream)
Write the storage to an OutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyTable()
public PropertyTable(int startBlock,
RawDataBlockList blockList)
throws java.io.IOException
startBlock - the first block of the property tableblockList - the list of blocks
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 void preWrite()
public int getStartBlock()
public int countBlocks()
countBlocks in interface BATManagedpublic void setStartBlock(int index)
setStartBlock in interface BATManagedindex - index into the array of BigBlock instances making
up the the filesystem
public void writeBlocks(java.io.OutputStream stream)
throws java.io.IOException
writeBlocks in interface BlockWritablestream - the OutputStream to which the stored data should
be written
java.io.IOException - on problems writing to the specified
stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||