Autopsy  4.15.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.texttranslation.TextTranslator Interface Reference

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

Detailed Description

Interface for creating text translators. Implementing classes will be picked up and run by the Text Translation Service.

Definition at line 27 of file

Member Function Documentation

int org.sleuthkit.autopsy.texttranslation.TextTranslator.getMaxTextChars ( )

Gets the maximum number of characters allowed in a translation request.

The maximum character count.

Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.

String org.sleuthkit.autopsy.texttranslation.TextTranslator.getName ( )
JPanel org.sleuthkit.autopsy.texttranslation.TextTranslator.getSettingsPanel ( )

Get the JPanel to display on the settings options panel when this TextTranslator is selected

the panel which displays the settings options

Implemented in org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator, and org.sleuthkit.autopsy.texttranslation.translators.BingTranslator.

void org.sleuthkit.autopsy.texttranslation.TextTranslator.saveSettings ( ) throws TranslationConfigException
String org.sleuthkit.autopsy.texttranslation.TextTranslator.translate ( String  input) throws TranslationException

Translates a provided string

inputthe String to translate
the translated String

Implemented in org.sleuthkit.autopsy.texttranslation.translators.BingTranslator, and org.sleuthkit.autopsy.texttranslation.translators.GoogleTranslator.

The documentation for this interface was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.