|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockList
Interface for lists of blocks that are mapped by block allocation tables
Method Summary | |
---|---|
int |
blockCount()
|
ListManagedBlock[] |
fetchBlocks(int startBlock,
int headerPropertiesStartBlock)
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 |
void |
zap(int index)
remove the specified block from the list |
Method Detail |
---|
void zap(int index)
index
- the index of the specified block; if the index is
out of range, that's okListManagedBlock remove(int index) throws java.io.IOException
index
- the index of the specified block
java.io.IOException
- if the index is out of range or has
already been removedListManagedBlock[] fetchBlocks(int startBlock, int headerPropertiesStartBlock) throws java.io.IOException
startBlock
- the index of the first block in the streamheaderPropertiesStartBlock
- the index of the first header block in the stream
java.io.IOException
- if blocks are missingvoid setBAT(BlockAllocationTableReader bat) throws java.io.IOException
bat
- the associated BlockAllocationTable
java.io.IOException
int blockCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |