01: /*
02: * ====================================================================
03: * Copyright (c) 2004 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12:
13: package de.regnis.q.sequence.line.diff;
14:
15: import java.io.*;
16:
17: /**
18: * @author TMate Software Ltd.
19: */
20: public interface QDiffGenerator {
21:
22: void generateDiffHeader(String item, String leftInfo,
23: String rightInfo, Writer output) throws IOException;
24:
25: void generateTextDiff(InputStream left, InputStream right,
26: String encoding, Writer output) throws IOException;
27:
28: void generateBinaryDiff(InputStream left, InputStream right,
29: String encoding, Writer output) throws IOException;
30: }
|