All Packages Class Hierarchy This Package Previous Next Index
Class multilizer.Translation
java.lang.Object
|
+----multilizer.Translation
- public class Translation
- extends Object
A class that contains one translation.
-
component
- The component.
-
CONTEXT_SEPARATOR
-
-
current
- The string in the current language.
-
exists
- True if there is a translation for the string.
-
form
- The form.
-
str
- The native string.
-
Translation()
-
-
Translation(String, String)
-
-
Translation(Translation)
-
-
composeKey(String, String, String)
- Returns the string key.
-
getKey()
- Get the string key.
CONTEXT_SEPARATOR
public static final String CONTEXT_SEPARATOR
str
public String str
- The native string.
form
public String form
- The form.
component
public String component
- The component.
current
public String current
- The string in the current language.
exists
public boolean exists
- True if there is a translation for the string.
Translation
public Translation()
Translation
public Translation(String str,
String current)
Translation
public Translation(Translation translation)
getKey
public String getKey()
- Get the string key. The key is a combination of the string and context.
composeKey
public static String composeKey(String str,
String form,
String component)
- Returns the string key. The key is a combination of the string and context.
str + separator + form + component
All Packages Class Hierarchy This Package Previous Next Index