/** Skips to the first segment of the next block, if any. In such case, it returns true, or false * otherwise. */ public void nextBlock() throws IOException { if ( ! hasMoreBlocks() ) throw new NoSuchElementException(); currentBlock++; if ( DEBUG ) LOGGER.debug( "Moving to block # " + currentBlock ); nextSegment(); }
/** Moves into the next segment of the current block. */ public void reset() throws IOException { ensureNotClosed(); nextSegment(); } }
/** Skips to the first segment of the next block, if any. In such case, it returns true, or false * otherwise. */ public void nextBlock() throws IOException { if (! hasMoreBlocks()) throw new NoSuchElementException(); currentBlock++; if (DEBUG) LOGGER.debug("Moving to block # " + currentBlock); nextSegment(); }
/** Skips to the first segment of the next block, if any. In such case, it returns true, or false * otherwise. */ public void nextBlock() throws IOException { if ( ! hasMoreBlocks() ) throw new NoSuchElementException(); currentBlock++; if ( DEBUG ) LOGGER.debug( "Moving to block # " + currentBlock ); nextSegment(); }
/** Moves into the next segment of the current block. */ @Override public void reset() throws IOException { ensureNotClosed(); nextSegment(); } }
/** Moves into the next segment of the current block. */ public void reset() throws IOException { ensureNotClosed(); nextSegment(); } }