All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class multilizer.BinaryDictionary

java.lang.Object
   |
   +----multilizer.Dictionary
           |
           +----multilizer.BundleDictionary
                   |
                   +----multilizer.FileDictionary
                           |
                           +----multilizer.BinaryDictionary

public class BinaryDictionary
extends FileDictionary
A dictionary component that gets translation data from a bundle of MLD files.

Set the FileName property to contain the file name of the dictionry file. You can also set the dictionary read the dictionary data from a stream. Implement the BinaryStreamListener interface and set it to listen the dictionary by calling the addStreamListener methods. The stream must contain the MLD data.


An example:
 BinaryDictionary dictionary = new BinaryDictionary();
dictionary.setDictionaryName("dictionary"); try { dictionary.open(); } catch (Exception e) { }

See Also:
TextDictionary, ResourceDictionary

Constructor Index

 o BinaryDictionary()

Method Index

 o loadTranslation()
Loads the translation data from the file to the array.

Constructors

 o BinaryDictionary
 public BinaryDictionary()

Methods

 o loadTranslation
 protected void loadTranslation() throws Exception
Loads the translation data from the file to the array.

Overrides:
loadTranslation in class FileDictionary

All Packages  Class Hierarchy  This Package  Previous  Next  Index