Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult Class Reference

Public Member Functions

String getErrorMessage ()
 
String getResult ()
 
boolean isSuccessful ()
 

Static Public Member Functions

static TranslateResult error (String message)
 
static TranslateResult success (String content)
 

Private Member Functions

 TranslateResult (String result, String errorMessage, boolean successful)
 

Private Attributes

final String errorMessage
 
final String result
 
final boolean successful
 

Detailed Description

This is a result of running and processing the translation.

Definition at line 49 of file TranslateTextTask.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.TranslateResult ( String  result,
String  errorMessage,
boolean  successful 
)
private

Member Function Documentation

static TranslateResult org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.error ( String  message)
static
String org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.getErrorMessage ( )
String org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.getResult ( )
boolean org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.isSuccessful ( )
static TranslateResult org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.success ( String  content)
static

Member Data Documentation

final String org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.errorMessage
private
final String org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.result
private
final boolean org.sleuthkit.autopsy.texttranslation.ui.TranslateTextTask.TranslateResult.successful
private

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

Copyright © 2012-2022 Basis Technology. Generated on: Fri Sep 30 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.