|
Autopsy
4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherited by org.sleuthkit.autopsy.texttranslation.translators.BingTranslator, and org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator.
Public Member Functions | |
| int | getMaxTextChars () |
| String | getName () |
| JPanel | getSettingsPanel () |
| void | saveSettings () throws TranslationConfigException |
| String | translate (String input) throws TranslationException |
Interface for creating text translators. Implementing classes will be picked up and run by the Text Translation Service.
Definition at line 27 of file TextTranslator.java.
| int org.sleuthkit.autopsy.texttranslation.TextTranslator.getMaxTextChars | ( | ) |
Gets the maximum number of characters allowed in a translation request.
Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.
| String org.sleuthkit.autopsy.texttranslation.TextTranslator.getName | ( | ) |
Get the name of the TextTranslator implementation
Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.
| JPanel org.sleuthkit.autopsy.texttranslation.TextTranslator.getSettingsPanel | ( | ) |
Get the JPanel to display on the settings options panel when this TextTranslator is selected
Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.
| void org.sleuthkit.autopsy.texttranslation.TextTranslator.saveSettings | ( | ) | throws TranslationConfigException |
Saves the current state of the settings in the settings panel.
| TranslationConfigException |
Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.
| String org.sleuthkit.autopsy.texttranslation.TextTranslator.translate | ( | String | input | ) | throws TranslationException |
Translates a provided string
| input | the String to translate |
| TranslationException |
Implemented in org.sleuthkit.autopsy.texttranslation.translators.BingTranslator, and org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator.
Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.