public class CommonMiddle extends Object
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private String |
commonality |
private String |
sourcePrefix |
private String |
sourceSuffix |
private String |
targetPrefix |
private String |
targetSuffix |
Constructor and Description |
---|
CommonMiddle(String sourcePrefix,
String sourceSuffix,
String targetPrefix,
String targetSuffix,
String commonality)
A CommonMiddle represents an overlap between a baseline/source text and a
changed/target text.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCommonality() |
String |
getSourcePrefix() |
String |
getSourceSuffix() |
String |
getTargetPrefix() |
String |
getTargetSuffix() |
int |
hashCode() |
String |
toString() |
private String sourcePrefix
private String sourceSuffix
private String targetPrefix
private String targetSuffix
private String commonality
public CommonMiddle(String sourcePrefix, String sourceSuffix, String targetPrefix, String targetSuffix, String commonality)
sourcePrefix
- The text before the commonality form the sourcesourceSuffix
- The text after the commonality form the sourcetargetPrefix
- The text before the commonality form the targettargetSuffix
- The text after the commonality form the targetcommonality
- The text in commonpublic String getSourcePrefix()
public String getTargetPrefix()
public String getCommonality()
public String getSourceSuffix()
public String getTargetSuffix()