| java.lang.Object allensoft.diff.DiffProcessor
DiffProcessor | public class DiffProcessor (Code) | | Proceses differences and applies them to a Reader. The output is controlled by overridable
printXXXX methods. By default these methods simply output the result of applying the
differences to System.out.
|
Constructor Summary | |
public | DiffProcessor(Reader file1, DiffParser diffParser) Creates a new DiffProcessor that applies the differnces returned from diffParser
to file1 . |
DiffProcessor | public DiffProcessor(Reader file1, DiffParser diffParser)(Code) | | Creates a new DiffProcessor that applies the differnces returned from diffParser
to file1 .
|
printLineInFile1 | protected void printLineInFile1(int nLineNum, DiffType type, String sLine)(Code) | | Displays a line in File1. File1 is the file provided by the Reader supplied at construction time.
|
printLineInFile2 | protected void printLineInFile2(int nLineNum, DiffType type, String sLine)(Code) | | Displays a line in File2. File2 is the file resulting from applying the differences to File1.
|
printNonExistantLineInFile1 | protected void printNonExistantLineInFile1()(Code) | | Displays a non-existant line in File1. File1 is the file provided by the Reader supplied at construction time.
|
printNonExistantLineInFile2 | protected void printNonExistantLineInFile2()(Code) | | Displays a non-existant line in File2. File2 is the file resulting from applying the differences to File1.
|
|
|