|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for lists of blocks that are mapped by block allocation tables
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 |
void |
zap(int index)
remove the specified block from the list |
Method Detail |
public void zap(int index)
index
- the index of the specified block; if the index is
out of range, that's okpublic ListManagedBlock remove(int index) throws java.io.IOException
index
- the index of the specified blockjava.io.IOException
- if the index is out of range or has
already been removedpublic ListManagedBlock[] fetchBlocks(int startBlock) throws java.io.IOException
startBlock
- the index of the first block in the streamjava.io.IOException
- if blocks are missingpublic void setBAT(BlockAllocationTableReader bat) throws java.io.IOException
bat
- the associated BlockAllocationTablejava.io.IOException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |