/** * Write the storage to an OutputStream * * @param stream the OutputStream to which the stored data should * be written * * @exception IOException on problems writing to the specified * stream */ public void writeBlocks(final OutputStream stream) throws IOException { if (_blocks != null) { for (int j = 0; j < _blocks.length; j++) { _blocks[ j ].writeBlocks(stream); } } } }
/** * Write the storage to an OutputStream * * @param stream the OutputStream to which the stored data should * be written * * @exception IOException on problems writing to the specified * stream */ public void writeBlocks(final OutputStream stream) throws IOException { if (_blocks != null) { for (int j = 0; j < _blocks.length; j++) { _blocks[ j ].writeBlocks(stream); } } } }
/** * Write the storage to an OutputStream * * @param stream the OutputStream to which the stored data should * be written * * @exception IOException on problems writing to the specified * stream */ public void writeBlocks(final OutputStream stream) throws IOException { Iterator iter = _small_blocks.iterator(); while (iter.hasNext()) { (( BlockWritable ) iter.next()).writeBlocks(stream); } }
/** * Write the storage to an OutputStream * * @param stream the OutputStream to which the stored data should * be written * * @exception IOException on problems writing to the specified * stream */ public void writeBlocks(final OutputStream stream) throws IOException { Iterator iter = _small_blocks.iterator(); while (iter.hasNext()) { (( BlockWritable ) iter.next()).writeBlocks(stream); } }
store[ j ].writeBlocks(stream);
store[ j ].writeBlocks(stream);
blocks[k].writeBlocks(output);
blocks[k].writeBlocks(output);
writer.writeBlocks(stream);
writer.writeBlocks(stream);