Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.directorytree.ExternalViewerAction Class Reference

Inherits AbstractAction.

Public Member Functions

 ExternalViewerAction (String title, Node fileNode)
 
void actionPerformed (ActionEvent e)
 

Private Attributes

org.sleuthkit.datamodel.AbstractFile fileObject
 
String fileObjectExt
 

Static Private Attributes

static final Logger logger = Logger.getLogger(ExternalViewerAction.class.getName())
 

Detailed Description

Extracts a File object to a temporary file in the case directory, and then tries to open it in the user's system with the default or user specified associated application.

Definition at line 39 of file ExternalViewerAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.directorytree.ExternalViewerAction.ExternalViewerAction ( String  title,
Node  fileNode 
)

Member Function Documentation

void org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed ( ActionEvent  e)

Check if the file MIME type or extension exists in the user defined settings. Otherwise open with the default associated application.

Definition at line 79 of file ExternalViewerAction.java.

References org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObject, org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getTempDirectory(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().

Member Data Documentation

org.sleuthkit.datamodel.AbstractFile org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObject
private
String org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObjectExt
private

Definition at line 43 of file ExternalViewerAction.java.

final Logger org.sleuthkit.autopsy.directorytree.ExternalViewerAction.logger = Logger.getLogger(ExternalViewerAction.class.getName())
staticprivate

Definition at line 41 of file ExternalViewerAction.java.


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

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