public abstract class QDiffSequenceGenerator extends Object implements QDiffGenerator
| Modifier | Constructor and Description |
|---|---|
protected |
QDiffSequenceGenerator(Map properties,
String header) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateDiffHeaderprotected abstract void processBlock(QSequenceDifferenceBlock[] segment, QSequenceLineCache sourceLines, QSequenceLineCache targetLines, String encoding, Writer output) throws IOException
IOExceptionprotected abstract void processBlock(QSequenceDifferenceBlock[] segment, QSequenceLineCache sourceLines, QSequenceLineCache targetLines, OutputStream output) throws IOException
IOExceptionpublic void generateBinaryDiff(InputStream left, InputStream right, String encoding, Writer output) throws IOException
generateBinaryDiff in interface QDiffGeneratorIOExceptionpublic void generateTextDiff(InputStream left, InputStream right, String encoding, Writer output) throws IOException
generateTextDiff in interface QDiffGeneratorIOExceptionpublic void generateTextDiff(QSequenceLineRAData left, QSequenceLineRAData right, String encoding, Writer output) throws IOException
generateTextDiff in interface QDiffGeneratorIOExceptionpublic void generateTextDiff(QSequenceLineRAData left, QSequenceLineRAData right, OutputStream output) throws IOException
IOExceptionpublic void generateTextDiff(RandomAccessFile left, RandomAccessFile right, String encoding, Writer output) throws IOException
generateTextDiff in interface QDiffGeneratorIOExceptionpublic void generateTextDiff(RandomAccessFile left, RandomAccessFile right, OutputStream output) throws IOException
generateTextDiff in interface QDiffGeneratorIOExceptionprotected Map getProperties()
protected String getHunkDelimiter()
protected String getEOL()
protected QSequenceLineSimplifier getSimplifier()
protected int getGutter()
protected String printLine(QSequenceLine line, String encoding) throws IOException
IOExceptionprotected void println(Writer output) throws IOException
IOExceptionprotected void println(OutputStream output) throws IOException
IOExceptionprotected void println(String str, Writer output) throws IOException
IOExceptionprotected void println(String str, OutputStream output) throws IOException
IOExceptionprotected void print(String str, Writer output) throws IOException
IOExceptionprotected void print(String str, OutputStream output) throws IOException
IOExceptionCopyright © 2021. All rights reserved.