Package org.omegat.core.data
Class ProtectedPart
- java.lang.Object
-
- org.omegat.core.data.ProtectedPart
-
public class ProtectedPart extends java.lang.Object
Class for store protected part's info."Protected part" is common term for:
- <m0>Acme</m0> - protected text (Acme) with related tags (<m0>, </m0>)
- <i1> - tag
- $1 - placeholder
-
-
Constructor Summary
Constructors Constructor Description ProtectedPart()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<ProtectedPart>
extractFor(java.util.List<ProtectedPart> original, java.lang.String text)
java.lang.String
getDetailsFromSourceFile()
java.lang.String
getReplacementMatchCalculation()
java.lang.String
getReplacementUniquenessCalculation()
java.lang.String
getReplacementWordsCountCalculation()
java.lang.String
getTextInSourceSegment()
void
setDetailsFromSourceFile(java.lang.String detailsFromSourceFile)
void
setReplacementMatchCalculation(java.lang.String replacementMatchCalculation)
void
setReplacementUniquenessCalculation(java.lang.String replacementUniquenessCalculation)
void
setReplacementWordsCountCalculation(java.lang.String replacementWordsCountCalculation)
void
setTextInSourceSegment(java.lang.String textInSourceSegment)
-
-
-
Method Detail
-
getTextInSourceSegment
public java.lang.String getTextInSourceSegment()
-
setTextInSourceSegment
public void setTextInSourceSegment(java.lang.String textInSourceSegment)
-
getDetailsFromSourceFile
public java.lang.String getDetailsFromSourceFile()
-
setDetailsFromSourceFile
public void setDetailsFromSourceFile(java.lang.String detailsFromSourceFile)
-
getReplacementWordsCountCalculation
public java.lang.String getReplacementWordsCountCalculation()
-
setReplacementWordsCountCalculation
public void setReplacementWordsCountCalculation(java.lang.String replacementWordsCountCalculation)
-
getReplacementUniquenessCalculation
public java.lang.String getReplacementUniquenessCalculation()
-
setReplacementUniquenessCalculation
public void setReplacementUniquenessCalculation(java.lang.String replacementUniquenessCalculation)
-
getReplacementMatchCalculation
public java.lang.String getReplacementMatchCalculation()
-
setReplacementMatchCalculation
public void setReplacementMatchCalculation(java.lang.String replacementMatchCalculation)
-
extractFor
public static java.util.List<ProtectedPart> extractFor(java.util.List<ProtectedPart> original, java.lang.String text)
-
-