|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.poifs.storage.RawDataBlockList
public class RawDataBlockList
A list of RawDataBlocks instances, and methods to manage the list
| Constructor Summary | |
|---|---|
RawDataBlockList(java.io.InputStream stream)
Constructor RawDataBlockList |
|
| Method Summary | |
|---|---|
ListManagedBlock[] |
fetchBlocks(int startBlock)
get the blocks making up a particular stream in the list. |
ListManagedBlock |
remove(int index)
remove and return the specified block from the list |
void |
setBAT(BlockAllocationTableReader bat)
set the associated BlockAllocationTable |
protected void |
setBlocks(ListManagedBlock[] blocks)
provide blocks to manage |
void |
zap(int index)
remove the specified block from the list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RawDataBlockList(java.io.InputStream stream)
throws java.io.IOException
stream - the InputStream from which the data will be read
java.io.IOException - on I/O errors, and if an incomplete
block is read| Method Detail |
|---|
protected void setBlocks(ListManagedBlock[] blocks)
blocks - blocks to be managedpublic void zap(int index)
zap in interface BlockListindex - the index of the specified block; if the index is
out of range, that's ok
public ListManagedBlock remove(int index)
throws java.io.IOException
remove in interface BlockListindex - the index of the specified block
java.io.IOException - if the index is out of range or has
already been removed
public ListManagedBlock[] fetchBlocks(int startBlock)
throws java.io.IOException
fetchBlocks in interface BlockListstartBlock - the index of the first block in the stream
java.io.IOException - if blocks are missing
public void setBAT(BlockAllocationTableReader bat)
throws java.io.IOException
setBAT in interface BlockListbat - the associated BlockAllocationTable
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||