|
SourceJammer 1.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--JLibDiff.Hunk3
The Hunk3
class represents a bloc of difference of three
files or three Buffers.
Constructor Summary | |
Hunk3()
Allocates a new Hunk3. |
Method Summary | |
java.lang.String |
convert()
Returns a string representation of the current Hunk with normal format. |
int |
highLine(int filenum)
Returns the value of position of bloc end line reliding the file passed in argument. |
int |
lowLine(int filenum)
Returns the value of position of bloc start line reliding the file passed in argument. |
int |
numLines(int filenum)
Returns the number of lines reliding this bloc of difference and the file passed in argument. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Hunk3()
Method Detail |
public void setRange(int low0, int high0, int low1, int high1, int lowc, int highc)
low0
- start position of bloc of difference in the first file.high0
- end position of bloc ob difference in thefirst file.low1
- start position of bloc of difference in the second file.high1
- end position of bloc ob difference in the second file.lowc
- start position of bloc of difference in the therd file.highc
- end position of bloc ob difference in the therd file.public java.lang.String convert()
public int lowLine(int filenum)
filenum
- file number which can be:
0 to indicate first file.
1 to indicate second file.
2 to indicate therd file.public int highLine(int filenum)
filenum
- file number which can be:
0 to indicate first file.
1 to indicate second file.
2 to indicate therd file.public int numLines(int filenum)
filenum
- file number which can be:
0 to indicate first file.
1 to indicate second file.
2 to indicate therd file.
|
SourceJammer 1.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |