Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

JLibDiff
Class Hunk3Type  view Hunk3Type download Hunk3Type.java

java.lang.Object
  extended byJLibDiff.Hunk3Type

public class Hunk3Type
extends java.lang.Object

Version:
$VerNum: 2$ $KeyWordsOff: $

Describes the type of difference expressed by a Hunk3 object.

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()
          Convert this Object to a human-readable String.
 
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.


getInFileType

public Hunk3Type.InFileType getInFileType()
Returns the inFileType.


setDifferenceType

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


setInFileType

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


toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).