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.


Variable Index

 o component
The component.
 o CONTEXT_SEPARATOR
 o current
The string in the current language.
 o exists
True if there is a translation for the string.
 o form
The form.
 o str
The native string.

Constructor Index

 o Translation()
 o Translation(String, String)
 o Translation(Translation)

Method Index

 o composeKey(String, String, String)
Returns the string key.
 o getKey()
Get the string key.

Variables

 o CONTEXT_SEPARATOR
 public static final String CONTEXT_SEPARATOR
 o str
 public String str
The native string.

 o form
 public String form
The form.

 o component
 public String component
The component.

 o current
 public String current
The string in the current language.

 o exists
 public boolean exists
True if there is a translation for the string.

Constructors

 o Translation
 public Translation()
 o Translation
 public Translation(String str,
                    String current)
 o Translation
 public Translation(Translation translation)

Methods

 o getKey
 public String getKey()
Get the string key. The key is a combination of the string and context.

 o 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