Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.texttranslation.utils.FileNameTranslationUtil Class Reference

Static Public Member Functions

static String translate (String fileName) throws NoServiceProviderException, TranslationException

Private Member Functions

 FileNameTranslationUtil ()

Detailed Description

A utility to translate file names.

Definition at line 29 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.texttranslation.utils.FileNameTranslationUtil.FileNameTranslationUtil ( )

Prevent instantiation of this utility class

Definition at line 71 of file

Member Function Documentation

static String org.sleuthkit.autopsy.texttranslation.utils.FileNameTranslationUtil.translate ( String  fileName) throws NoServiceProviderException, TranslationException

Translates a file name using the configured machine translation service.

fileNameThe file name.
The translation of the file name.
NoServiceProviderExceptionIf machine translation is not configured.
TranslationExceptionIf there is an error doing the translation.

Definition at line 43 of file

References org.sleuthkit.autopsy.texttranslation.TextTranslationService.getInstance(), and org.sleuthkit.autopsy.texttranslation.TextTranslationService.translate().

Referenced by org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.computePropertyValue().

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

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