| 
||||||||||
| 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 ok
ListManagedBlock 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 removed
ListManagedBlock[] 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 missing
void setBAT(BlockAllocationTableReader bat)
            throws java.io.IOException
bat - the associated BlockAllocationTable
java.io.IOExceptionint blockCount()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||