Package com.iizigo.translate.google
Class GoogleTranslate
java.lang.Object
com.iizix.translate.google.GoogleTranslate
com.iizigo.translate.google.GoogleTranslate
- All Implemented Interfaces:
- IEditorTranslator,- ITranslator
The Editor version of the Google Translate translator implementation.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from class com.iizix.translate.google.GoogleTranslate- serverLockedIP_API_Key
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- booleanConfigures the translator with a property container.- voidDeconfigures the translator.- static void- setDemo()Sets the demo mode.- Methods inherited from class com.iizix.translate.google.GoogleTranslate- canTranslate, detectLanguages, getLanguageCode, getLanguageDescription, getLanguages, getLanguages, getLanguages, getName, getReadyState, isLanguageHandled, translate, translate, updateSupportedLanguages- Methods inherited from class java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait- Methods inherited from interface com.iizix.translate.ITranslator- canTranslate, getLanguageCode, getLanguageDescription, getName, getReadyState, isLanguageHandled, translate, updateSupportedLanguages
- Constructor Details- GoogleTranslatepublic GoogleTranslate()Constructor.
 
- Method Details- configureConfigures the translator with a property container.- Specified by:
- configurein interface- IEditorTranslator
- Parameters:
- shell- The shell.
- Returns:
- true for OK, false for cancel.
 
- setDemopublic static void setDemo()Sets the demo mode.
- deconfigurepublic void deconfigure()Deconfigures the translator.- Specified by:
- deconfigurein interface- ITranslator
- Overrides:
- deconfigurein class- GoogleTranslate