/** * Writes the block chains for the additional property sets * * @exception IOException */ private void writeAdditionalPropertySetBlockChains() throws IOException { if (additionalPropertySets == null) { return; } int blockNumber = excelDataStartBlock + excelDataBlocks + 16; for (Iterator i = additionalPropertySets.iterator(); i.hasNext() ; ) { ReadPropertyStorage rps = (ReadPropertyStorage) i.next(); if (rps.data.length > SMALL_BLOCK_THRESHOLD) { int numBlocks = getBigBlocksRequired(rps.data.length); writeBlockChain(blockNumber, numBlocks); blockNumber += numBlocks; } } }
/** * Writes the block chains for the additional property sets * * @exception IOException */ private void writeAdditionalPropertySetBlockChains() throws IOException { if (additionalPropertySets == null) { return; } int blockNumber = excelDataStartBlock + excelDataBlocks + 16; for (Iterator i = additionalPropertySets.iterator(); i.hasNext() ; ) { ReadPropertyStorage rps = (ReadPropertyStorage) i.next(); if (rps.data.length > SMALL_BLOCK_THRESHOLD) { int numBlocks = getBigBlocksRequired(rps.data.length); writeBlockChain(blockNumber, numBlocks); blockNumber += numBlocks; } } }
writeBlockChain(excelDataStartBlock, excelDataBlocks); writeBlockChain(sbdStartBlock, numSmallBlockDepotBlocks); writeBlockChain(sbdStartBlockChain, numSmallBlockDepotChainBlocks); writeBlockChain(rootStartBlock, numRootEntryBlocks);
writeBlockChain(excelDataStartBlock, excelDataBlocks); writeBlockChain(sbdStartBlock, numSmallBlockDepotBlocks); writeBlockChain(sbdStartBlockChain, numSmallBlockDepotChainBlocks); writeBlockChain(rootStartBlock, numRootEntryBlocks);