bmsi.util
Class DiffPrint.UnifiedPrint
java.lang.Object
bmsi.util.DiffPrint.Base
bmsi.util.DiffPrint.ContextPrint
bmsi.util.DiffPrint.UnifiedPrint
- Enclosing class:
- DiffPrint
public static class DiffPrint.UnifiedPrint
- extends DiffPrint.ContextPrint
Prints an edit script in context diff format. This and its
'unified' variation is used for source code patches.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffPrint.UnifiedPrint
public DiffPrint.UnifiedPrint(Object[] a,
Object[] b)
print_header
public void print_header(String filea,
String fileb)
- Description copied from class:
DiffPrint.Base
- Called to print the script header which identifies the files compared.
The default does nothing (except set output to system.out if
not otherwise set). Derived style classes can override to print
the files compared in the format for that style.
- Overrides:
print_header in class DiffPrint.ContextPrint
print_hunk
protected void print_hunk(Diff.change hunk)
- Overrides:
print_hunk in class DiffPrint.ContextPrint
Copyright © 2004-2013. All Rights Reserved.