/** * get the blocks making up a particular stream in the list. The * blocks are removed from the list. * * @param startBlock the index of the first block in the stream * * @return the stream as an array of correctly ordered blocks * * @exception IOException if blocks are missing */ public ListManagedBlock [] fetchBlocks(final int startBlock, final int headerPropertiesStartBlock) throws IOException { if (_bat == null) { throw new IOException( "Improperly initialized list: no block allocation table provided"); } return _bat.fetchBlocks(startBlock, headerPropertiesStartBlock, this); }
/** * get the blocks making up a particular stream in the list. The * blocks are removed from the list. * * @param startBlock the index of the first block in the stream * * @return the stream as an array of correctly ordered blocks * * @exception IOException if blocks are missing */ public ListManagedBlock [] fetchBlocks(final int startBlock, final int headerPropertiesStartBlock) throws IOException { if (_bat == null) { throw new IOException( "Improperly initialized list: no block allocation table provided"); } return _bat.fetchBlocks(startBlock, headerPropertiesStartBlock, this); }