org.sourcejammer.client.gui.merge
Class MatchPoint

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

public class MatchPoint
extends java.lang.Object
implements Point

/** Title: $FileName: MatchPoint.java$ Description: $Description: $ Copyright: Copyright (c) 2002 Company: SourceJammer

Version:
$VerNum: 2$ $KeyWordsOff: $ Represents a point at which all three files match.

Field Summary
private  java.lang.String eol
           
private  java.util.ArrayList lines
           
 
Constructor Summary
MatchPoint(org.sourcejammer.util.TextLineReader2 file0Reader, int startLine, int endLine, java.lang.String eol)
           
 
Method Summary
 java.util.ArrayList getLines()
           
 java.util.ArrayList getLines(int fileNumber)
           
 java.lang.String getString()
           
 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

lines

private java.util.ArrayList lines

eol

private java.lang.String eol
Constructor Detail

MatchPoint

public MatchPoint(org.sourcejammer.util.TextLineReader2 file0Reader,
                  int startLine,
                  int endLine,
                  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

getString

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

getLines

public java.util.ArrayList getLines()
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


Copyright 2003 Soucejammer project.