Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction Class Reference

Inherits AbstractAction, and Popup.

Classes

class  AddContentToHashDbMenu
 

Public Member Functions

void actionPerformed (ActionEvent event)
 
JMenuItem getMenuForFiles (Collection< AbstractFile > selectedFiles)
 
JMenuItem getPopupPresenter ()
 

Static Public Member Functions

static synchronized AddContentToHashDbAction getInstance ()
 

Private Member Functions

 AddContentToHashDbAction ()
 

Static Private Attributes

static AddContentToHashDbAction instance
 
static final String MULTI_SELECTION_NAME
 
static final String MULTI_SELECTION_NAME_DURING_INGEST
 
static final String MULTI_SELECTION_NAME_EMPTY_FILE
 
static final String MULTI_SELECTION_NAME_NO_MD5
 
static final long serialVersionUID = 1L
 
static final String SINGLE_SELECTION_NAME
 
static final String SINGLE_SELECTION_NAME_DURING_INGEST
 
static final String SINGLE_SELECTION_NAME_EMPTY_FILE
 
static final String SINGLE_SELECTION_NAME_NO_MD5
 

Detailed Description

Instances of this Action allow users to content to a hash database.

Definition at line 46 of file AddContentToHashDbAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.AddContentToHashDbAction ( )
private

Member Function Documentation

void org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.actionPerformed ( ActionEvent  event)
static synchronized AddContentToHashDbAction org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.getInstance ( )
static

AddContentToHashDbAction is a singleton to support multi-selection of nodes, since org.openide.nodes.NodeOp.findActions(Node[] nodes) will only pick up an Action from a node if every node in the nodes array returns a reference to the same action object from Node.getActions(boolean).

Returns
The AddContentToHashDbAction instance which is used to provide the menu for adding content to a HashDb.

Definition at line 81 of file AddContentToHashDbAction.java.

References org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.AddContentToHashDbAction(), and org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.instance.

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashDbContextMenuActionsProvider.getActions().

JMenuItem org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.getMenuForFiles ( Collection< AbstractFile >  selectedFiles)

Get the menu for adding the specified collection of Files to a HashDb.

Parameters
selectedFilesThe collection of AbstractFiles the menu actions will be applied to.
Returns
The menu which will allow users to add the specified files to a HashDb.

Definition at line 100 of file AddContentToHashDbAction.java.

JMenuItem org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.getPopupPresenter ( )

Definition at line 105 of file AddContentToHashDbAction.java.

Member Data Documentation

AddContentToHashDbAction org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.instance
staticprivate
final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.MULTI_SELECTION_NAME
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.multipleSelectionName")

Definition at line 52 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.MULTI_SELECTION_NAME_DURING_INGEST
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.multipleSelectionNameDuringIngest")

Definition at line 58 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.MULTI_SELECTION_NAME_EMPTY_FILE
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.multipleSelectionNameEmpty")

Definition at line 64 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.MULTI_SELECTION_NAME_NO_MD5
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.multipleSelectionNameNoMD5")

Definition at line 68 of file AddContentToHashDbAction.java.

final long org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.serialVersionUID = 1L
staticprivate

Definition at line 70 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.SINGLE_SELECTION_NAME
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.singleSelectionName")

Definition at line 50 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.SINGLE_SELECTION_NAME_DURING_INGEST
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.singleSelectionNameDuringIngest")

Definition at line 56 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.SINGLE_SELECTION_NAME_EMPTY_FILE
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.singleSelectionNameEmpty")

Definition at line 62 of file AddContentToHashDbAction.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.AddContentToHashDbAction.SINGLE_SELECTION_NAME_NO_MD5
staticprivate
Initial value:
= NbBundle.getMessage(AddContentToHashDbAction.class,
"AddContentToHashDbAction.singleSelectionNameNoMD5")

Definition at line 66 of file AddContentToHashDbAction.java.


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

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.