|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jaxfront.core.util.diff.DiffToolPrint.Base
public abstract static class DiffToolPrint.Base
A Base class for printing edit scripts produced by Diff. This class divides the change list into "hunks", and calls print_hunk for
each hunk. Various utility methods are provided as well.
| Method Summary | |
|---|---|
static char |
change_letter(int inserts,
int deletes)
|
void |
print_header(java.lang.String filea,
java.lang.String fileb)
Called to print the script header which identifies the files compared. |
void |
print_script(DiffTool.change script)
Divide SCRIPT into pieces by calling HUNKFUN and print each piece with PRINTFUN. |
void |
setOutput(java.io.Writer wtr)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static char change_letter(int inserts,
int deletes)
public void print_header(java.lang.String filea,
java.lang.String fileb)
public void print_script(DiffTool.change script)
public void setOutput(java.io.Writer wtr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||