public class SmallBlockTableWriter extends Object implements BlockWritable, BATManaged
Constructor and Description |
---|
SmallBlockTableWriter(List documents,
RootProperty root)
Creates new SmallBlockTable
|
Modifier and Type | Method and Description |
---|---|
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(OutputStream stream)
Write the storage to an OutputStream
|
public SmallBlockTableWriter(List documents, RootProperty root)
documents
- a List of POIFSDocument instancesroot
- the Filesystem's root propertypublic 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(OutputStream stream) throws IOException
writeBlocks
in interface BlockWritable
stream
- the OutputStream to which the stored data should
be writtenIOException
- on problems writing to the specified
streamCopyright © 2014 Open Microscopy Environment