|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.poifs.storage.SmallBlockTableWriter
public class SmallBlockTableWriter
This class implements storage for writing the small blocks used by small documents.
Constructor Summary | |
---|---|
SmallBlockTableWriter(POIFSBigBlockSize bigBlockSize,
java.util.List documents,
RootProperty root)
Creates new SmallBlockTable |
Method Summary | |
---|---|
int |
countBlocks()
Return the number of BigBlock's this instance uses |
BlockAllocationTableWriter |
getSBAT()
Get the SBAT |
int |
getSBATBlockCount()
Get the number of SBAT blocks |
void |
setStartBlock(int start_block)
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 SmallBlockTableWriter(POIFSBigBlockSize bigBlockSize, java.util.List documents, RootProperty root)
documents
- a List of POIFSDocument instancesroot
- the Filesystem's root propertyMethod Detail |
---|
public int getSBATBlockCount()
public BlockAllocationTableWriter getSBAT()
public int countBlocks()
countBlocks
in interface BATManaged
public void setStartBlock(int start_block)
setStartBlock
in interface BATManaged
start_block
- public void writeBlocks(java.io.OutputStream stream) throws java.io.IOException
writeBlocks
in interface BlockWritable
stream
- 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 |