public interface Diff
DiffUtil
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE_DEL |
static String |
CLOSE_INS |
static String |
CONTEXT_LINE |
static String |
OPEN_DEL |
static String |
OPEN_INS |
Modifier and Type | Method and Description |
---|---|
List<DiffResult>[] |
diff(Reader source,
Reader target) |
List<DiffResult>[] |
diff(Reader source,
Reader target,
String addedMarkerStart,
String addedMarkerEnd,
String deletedMarkerStart,
String deletedMarkerEnd,
int margin) |
static final String CLOSE_DEL
static final String CLOSE_INS
static final String CONTEXT_LINE
static final String OPEN_DEL
static final String OPEN_INS
List<DiffResult>[] diff(Reader source, Reader target)
List<DiffResult>[] diff(Reader source, Reader target, String addedMarkerStart, String addedMarkerEnd, String deletedMarkerStart, String deletedMarkerEnd, int margin)