Package org.omegat.core.data
Class StringEntry
- java.lang.Object
 - 
- org.omegat.core.data.StringEntry
 
 
- 
public class StringEntry extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description StringEntry(java.lang.String srcText)Creates a new string entry for a unique translatable string. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetSrcText()Returns the source stringjava.lang.StringgetTranslation()Returns the translation of the StringEntry.booleanisTranslated()Returns whether the given string entry is already translated.voidsetTranslation(java.lang.String trans)Sets the translation of the StringEntry. 
 - 
 
- 
- 
Method Detail
- 
getSrcText
public java.lang.String getSrcText()
Returns the source string 
- 
getTranslation
public java.lang.String getTranslation()
Returns the translation of the StringEntry. 
- 
setTranslation
public void setTranslation(java.lang.String trans)
Sets the translation of the StringEntry. If translation given is null or equal to the source, than the empty string is set as a translation to indicate that there's no translation. 
- 
isTranslated
public boolean isTranslated()
Returns whether the given string entry is already translated. 
 - 
 
 -