Class TranslationBDI


  • public class TranslationBDI
    extends java.lang.Object
    The translation agent F2. Translation agent that implements itself the translation service indirectly using plans. In each plan a service trigger is specified that defines to which service calls it should react to.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  TranslationBDI.TranslatePlan
      Translate an English word to German.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IInternalAccess agent  
      protected java.util.Map<java.lang.String,​java.lang.String> wordtable
      The wordtable.
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationBDI()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()  
      java.lang.String internetTranslate​(java.lang.Object[] params)
      Translate an English word to German.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • wordtable

        protected java.util.Map<java.lang.String,​java.lang.String> wordtable
        The wordtable.
    • Constructor Detail

      • TranslationBDI

        public TranslationBDI()
    • Method Detail

      • init

        public void init()
      • internetTranslate

        public java.lang.String internetTranslate​(java.lang.Object[] params)
        Translate an English word to German.
        Parameters:
        eword - The english word.
        Returns:
        The german translation.