appli.diff
Class DiffItem

java.lang.Object
  extended byappli.diff.DiffItem

public class DiffItem
extends java.lang.Object

Contains all the parameters of a difference in two files

Version:
1.0 Dec 2003
Author:
Marc Wenger/CDS

Field Summary
(package private)  int blklen1
           
(package private)  int blklen2
           
static int CHANGE
           
static int DELETE
           
static int INSERT
           
(package private)  int line1
           
(package private)  int line2
           
static int MOVE
           
(package private)  int type
           
 
Constructor Summary
DiffItem(int type, int line1)
           
 
Method Summary
 int getType()
           
 void incrBlk1()
           
 void incrBlk2()
           
 void setBlklen1(int len)
           
 void setLine2(int num)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHANGE

public static final int CHANGE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

INSERT

public static final int INSERT
See Also:
Constant Field Values

MOVE

public static final int MOVE
See Also:
Constant Field Values

type

int type

line1

int line1

blklen1

int blklen1

line2

int line2

blklen2

int blklen2
Constructor Detail

DiffItem

public DiffItem(int type,
                int line1)
Method Detail

setBlklen1

public void setBlklen1(int len)

incrBlk1

public void incrBlk1()

incrBlk2

public void incrBlk2()

setLine2

public void setLine2(int num)

getType

public int getType()

toString

public java.lang.String toString()