result = QSequenceLineMedia.createBlocks(QSequenceLineRAByteData.create(left), QSequenceLineRAByteData.create(right), null);
result = QSequenceLineMedia.createBlocks(QSequenceLineRAByteData.create(left), QSequenceLineRAByteData.create(right));
	public void generateTextDiff(InputStream left, InputStream right, String encoding, Writer output) throws IOException {		final QSequenceLineResult result;		try {			result = QSequenceLineMedia.createBlocks(QSequenceLineRAByteData.create(left), QSequenceLineRAByteData.create(right), null);		}		catch (QSequenceException ex) {			throw new IOException(ex.getMessage());		}		try {			final List combinedBlocks = combineBlocks(result.getBlocks(), getGutter());			for (Iterator it = combinedBlocks.iterator(); it.hasNext();) {				List segment = (List)it.next();				if (segment.isEmpty()) {					continue;				}				QSequenceDifferenceBlock[] segmentBlocks = (QSequenceDifferenceBlock[])segment.toArray(new QSequenceDifferenceBlock[segment.size()]);				processBlock(segmentBlocks, result.getLeftCache(), result.getRightCache(), encoding, output);			}		}		finally {			result.close();		}	}