The interface for translations dictionaries
Method Summary | |
boolean |
isEmpty()
Returns true if this translator is empty ( contains no keys to translate ) |
int |
size()
Returns the dictionary size ( translator entries count ) |
java.lang.String |
translate(java.lang.String sKey,
java.lang.String sLanguage)
Returns the translated text for the given key and the given language |
Method Detail |
public java.lang.String translate(java.lang.String sKey, java.lang.String sLanguage)
sKey
- the tag attribute key ( e.g. : "MyTagId.txt")sLanguage
- the language ( e.g. : "fr", "en", "it", ... )
public int size()
public boolean isEmpty()