public static class DiffPrint.ContextPrint extends DiffPrint.Base
Modifier and Type | Field and Description |
---|---|
protected int |
context |
Constructor and Description |
---|
DiffPrint.ContextPrint(java.lang.Object[] a,
java.lang.Object[] b) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
find_function(java.lang.Object[] lines,
int start)
If function_regexp defined, search for start of function.
|
protected void |
print_context_label(java.lang.String mark,
java.io.File inf,
java.lang.String label) |
protected void |
print_function(java.lang.Object[] file,
int start) |
void |
print_header(java.lang.String filea,
java.lang.String fileb)
Print the script header which identifies the files compared.
|
protected void |
print_hunk(Diff.change hunk) |
analyze_hunk, change_letter, hunkfun, print_1_line, print_number_range, print_script, setOutput, setupOutput
public DiffPrint.ContextPrint(java.lang.Object[] a, java.lang.Object[] b)
protected void print_context_label(java.lang.String mark, java.io.File inf, java.lang.String label)
public void print_header(java.lang.String filea, java.lang.String fileb)
DiffPrint.Base
print_header
in class DiffPrint.Base
private java.lang.String find_function(java.lang.Object[] lines, int start)
protected void print_function(java.lang.Object[] file, int start)
protected void print_hunk(Diff.change hunk)
print_hunk
in class DiffPrint.Base
Copyright © 2013. All Rights Reserved.