All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----multilizer.Dictionary
|
+----multilizer.BundleDictionary
|
+----multilizer.ResourceDictionary
Set the LanguageFileName property to contain the file name of the language table file name. You can also set the dictionary read the table data from streams. Implement the TextStreamListener interface and set it to listen the dictionary by calling the addLanguageStreamListener method. The stream must contain the same Unicode data as the language file.
Set the ResourceName property to contain the name of the resource. Call the open method to open the dictionary.
ResourceDictionary dictionary = new ResourceDictionary();
dictionary.setLanguageFileName("dictionary.txt"); dictionary.setResourceName("dictionary"); try { dictionary.open(); } catch (Exception e) { }
protected ResourceBundle resourceBundle
public ResourceDictionary()
protected void languageChanged(boolean languageChanged,
boolean localeChanged) throws Exception
protected String translateString(String str)
All Packages Class Hierarchy This Package Previous Next Index