org.sourcejammer.client.gui.merge
Class ChangePoint

java.lang.Object
  |
  +--org.sourcejammer.client.gui.merge.ChangePoint
All Implemented Interfaces:
Point

public class ChangePoint
extends java.lang.Object
implements Point

Title: $FileName: ChangePoint.java$ Description: $Description: $ Copyright: Copyright (c) 2002 Company: SourceJammer

Version:
$VerNum: 2$ $KeyWordsOff: $

Field Summary
private  java.lang.String eol
           
private  JLibDiff.Hunk3 hunk
           
 
Constructor Summary
ChangePoint(JLibDiff.Hunk3 hunk, java.lang.String eol)
           
 
Method Summary
private  java.lang.String arrayListToString(java.util.ArrayList lines)
           
 java.util.ArrayList getLines()
          returns null if a recommended string cannot be determined.
 java.util.ArrayList getLines(int fileNumber)
           
 int getRecommendedChangeFileNumber()
           
 java.lang.String getString()
          returns null if a recommended string cannot be determined.
 java.lang.String getString(int fileNumber)
           
 boolean isConflict()
           
 boolean isMerge()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hunk

private JLibDiff.Hunk3 hunk

eol

private java.lang.String eol
Constructor Detail

ChangePoint

public ChangePoint(JLibDiff.Hunk3 hunk,
                   java.lang.String eol)
Method Detail

isMerge

public boolean isMerge()
Specified by:
isMerge in interface Point

isConflict

public boolean isConflict()
Specified by:
isConflict in interface Point

getRecommendedChangeFileNumber

public int getRecommendedChangeFileNumber()

getString

public java.lang.String getString()
returns null if a recommended string cannot be determined.

Specified by:
getString in interface Point

getLines

public java.util.ArrayList getLines()
returns null if a recommended string cannot be determined.

Specified by:
getLines in interface Point

getString

public java.lang.String getString(int fileNumber)
Specified by:
getString in interface Point

getLines

public java.util.ArrayList getLines(int fileNumber)
Specified by:
getLines in interface Point

arrayListToString

private java.lang.String arrayListToString(java.util.ArrayList lines)


Copyright 2003 Soucejammer project.