JLibDiff
Class Hunk3Type

java.lang.Object
  |
  +--JLibDiff.Hunk3Type

public class Hunk3Type
extends java.lang.Object

Version:
$VerNum: 1$ $KeyWordsOff: $

Describes the type of difference expressed by a Hunk3 object.
Author:
$AuthorName: Rob MacGrogan$

Nested Class Summary
static class Hunk3Type.DifferenceType
           
static class Hunk3Type.InFileType
           
 
Field Summary
static Hunk3Type.DifferenceType ADD
           
static Hunk3Type.InFileType BOTH_FILES_DIFFERENT
           
static Hunk3Type.InFileType BOTH_FILES_SAME
           
static Hunk3Type.DifferenceType CHANGE
           
private  Hunk3Type.DifferenceType differenceType
           
static Hunk3Type.InFileType FILE_ONE
           
static Hunk3Type.InFileType FILE_TWO
           
private  Hunk3Type.InFileType inFileType
           
static Hunk3Type.DifferenceType REMOVE
           
 
Constructor Summary
Hunk3Type()
           
 
Method Summary
 Hunk3Type.DifferenceType getDifferenceType()
          Returns the differenceType.
 Hunk3Type.InFileType getInFileType()
          Returns the inFileType.
 void setDifferenceType(Hunk3Type.DifferenceType differenceType)
          Sets the differenceType.
 void setInFileType(Hunk3Type.InFileType inFileType)
          Sets the inFileType.
 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 Hunk3Type.DifferenceType CHANGE

ADD

public static final Hunk3Type.DifferenceType ADD

REMOVE

public static final Hunk3Type.DifferenceType REMOVE

FILE_ONE

public static final Hunk3Type.InFileType FILE_ONE

FILE_TWO

public static final Hunk3Type.InFileType FILE_TWO

BOTH_FILES_SAME

public static final Hunk3Type.InFileType BOTH_FILES_SAME

BOTH_FILES_DIFFERENT

public static final Hunk3Type.InFileType BOTH_FILES_DIFFERENT

inFileType

private Hunk3Type.InFileType inFileType

differenceType

private Hunk3Type.DifferenceType differenceType
Constructor Detail

Hunk3Type

public Hunk3Type()
Method Detail

getDifferenceType

public Hunk3Type.DifferenceType getDifferenceType()
Returns the differenceType.

Returns:
DifferenceType

getInFileType

public Hunk3Type.InFileType getInFileType()
Returns the inFileType.

Returns:
InFileType

setDifferenceType

public void setDifferenceType(Hunk3Type.DifferenceType differenceType)
Sets the differenceType.

Parameters:
differenceType - The differenceType to set

setInFileType

public void setInFileType(Hunk3Type.InFileType inFileType)
Sets the inFileType.

Parameters:
inFileType - The inFileType to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2003 Soucejammer project.