Method Summary |
|
public void | accpet(Hunk3Visitor visitor) |
public String | convert() Returns a string representation of the current Hunk with normal format. |
public ArrayList | getFile0Lines() Returns the file0Lines. |
public ArrayList | getFile1Lines() Returns the file1Lines. |
public ArrayList | getFile2Lines() Returns the file2Lines. |
public int | getMaxRange() Returns the maximum range for this hunk3. |
public Hunk3Type | getType() Returns the type. |
public int | highLine(int filenum) Returns the value of position of bloc end line reliding the
file passed in argument. |
public int | lowLine(int filenum) Returns the value of position of bloc start line reliding the
file passed in argument. |
public int | numLines(int filenum) Returns the number of lines reliding this bloc of difference and the
file passed in argument. |
public void | setFile0Lines(ArrayList file0Lines) Sets the file0Lines. |
public void | setFile1Lines(ArrayList file1Lines) Sets the file1Lines. |
public void | setFile2Lines(ArrayList file2Lines) Sets the file2Lines. |
public void | setRange(int low0, int high0, int low1, int high1, int lowc, int highc) Set range of difference which consern this bloc in etch file by values
passed in argument.
Parameters: low0 - start position of bloc of difference in the first file. Parameters: high0 - end position of bloc ob difference in thefirst file. |
public void | setType(Hunk3Type type) Sets the type. |