Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AbstractAction.
Public Member Functions | |
ExternalViewerAction (String title, Node fileNode) | |
void | actionPerformed (ActionEvent e) |
Static Public Member Functions | |
static void | openFile (String mimeType, String ext, File file) |
Private Attributes | |
org.sleuthkit.datamodel.AbstractFile | fileObject |
String | fileObjectExt |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(ExternalViewerAction.class.getName()) |
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 40 of file ExternalViewerAction.java.
org.sleuthkit.autopsy.directorytree.ExternalViewerAction.ExternalViewerAction | ( | String | title, |
Node | fileNode | ||
) |
Definition at line 47 of file ExternalViewerAction.java.
References org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObject.
void org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed | ( | ActionEvent | e | ) |
Definition at line 79 of file ExternalViewerAction.java.
References org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObject, org.sleuthkit.autopsy.directorytree.ExternalViewerAction.fileObjectExt, org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getTempDirectory(), org.sleuthkit.autopsy.directorytree.ExternalViewerAction.openFile(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
|
static |
Opens a file, taking into account user preferences and then the default associated application.
mimeType | MIME type of the file |
ext | extension of the file |
file | the file object |
Check if the file MIME type or extension exists in the user defined settings. Otherwise open with the default associated application.
Definition at line 116 of file ExternalViewerAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed(), and org.sleuthkit.autopsy.datamodel.Reports.ReportNode.OpenReportAction.actionPerformed().
|
private |
Definition at line 43 of file ExternalViewerAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed(), and org.sleuthkit.autopsy.directorytree.ExternalViewerAction.ExternalViewerAction().
|
private |
Definition at line 44 of file ExternalViewerAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExternalViewerAction.actionPerformed().
|
staticprivate |
Definition at line 42 of file ExternalViewerAction.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jan 2 2017
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.