Autopsy
4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datamodel.utils.AbstractNodePropertySheetTask< AbstractNode >.
Public Member Functions | |
FileNameTransTask (String fileName, AbstractNode node, PropertyChangeListener listener) | |
final void | run () |
final Future<?> | submit () |
Static Public Member Functions | |
static String | getPropertyName () |
Protected Member Functions | |
PropertyChangeEvent | computePropertyValue (AbstractNode node) throws Exception |
abstract PropertyChangeEvent | computePropertyValue (T node) throws Exception |
Private Attributes | |
final String | fileName |
Static Private Attributes | |
static final String | EVENT_SOURCE = FileNameTransTask.class.getName() |
static final String | PROPERTY_NAME = EVENT_SOURCE + ".TranslatedFileName" |
An AbstractNodePropertySheetTask that translates a file name for an AbstractNode's property sheet.
Definition at line 30 of file FileNameTransTask.java.
org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.FileNameTransTask | ( | String | fileName, |
AbstractNode | node, | ||
PropertyChangeListener | listener | ||
) |
Constructs an AbstractNodePropertySheetTask that translates a file name for an AbstractNode's property sheet. When the translation is complete, a PropertyChangeEvent will be fired to the node's PropertyChangeListener. Call getPropertyName() to identify the property.
node | The node. |
listener | The node's PropertyChangeListener. |
fileName | THe file name. |
Definition at line 50 of file FileNameTransTask.java.
References org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.fileName.
|
protected |
Definition at line 56 of file FileNameTransTask.java.
References org.sleuthkit.autopsy.texttranslation.utils.FileNameTranslationUtil.translate().
|
abstractprotectedinherited |
Computes the values for the property sheet of an AbstractNode. The results of the computation are returned as a PropertyChangeEvent which is fired to the PropertyChangeEventListener of the node.
IMPORTANT: Implementations of this method should check for cancellation by calling Thread.currentThread().isInterrupted() at appropriate intervals.
node | The AbstractNode. |
|
static |
Definition at line 36 of file FileNameTransTask.java.
References org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.PROPERTY_NAME.
Referenced by org.sleuthkit.autopsy.datamodel.TagNode.NameTranslationListener.propertyChange().
|
inherited |
Definition at line 122 of file AbstractNodePropertySheetTask.java.
|
inherited |
Submits this task to the ExecutorService for the thread pool.
Definition at line 117 of file AbstractNodePropertySheetTask.java.
References org.sleuthkit.autopsy.datamodel.utils.AbstractNodePropertySheetTask< T extends AbstractNode >::submitTask().
|
staticprivate |
Definition at line 32 of file FileNameTransTask.java.
|
private |
Definition at line 34 of file FileNameTransTask.java.
Referenced by org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.FileNameTransTask().
|
staticprivate |
Definition at line 33 of file FileNameTransTask.java.
Referenced by org.sleuthkit.autopsy.datamodel.utils.FileNameTransTask.getPropertyName().
Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.