Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AbstractAction.
Classes | |
class | CSVWriter |
Public Member Functions | |
void | actionPerformed (ActionEvent e) |
Static Public Member Functions | |
static synchronized ExportCSVAction | getInstance () |
static void | saveNodesToCSV (Collection<?extends Node > nodesToExport, Component component) |
Private Member Functions | |
ExportCSVAction () | |
Static Private Member Functions | |
static String | getDefaultOutputFileName (Node parent) |
static String | getExportDirectory (Case openCase) |
static void | updateExportDirectory (String exportPath, Case openCase) |
Static Private Attributes | |
static final List< String > | columnsToSkip |
static final String | DEFAULT_FILENAME = "Results" |
static ExportCSVAction | instance |
static final Logger | logger = Logger.getLogger(ExportCSVAction.class.getName()) |
static String | userDefinedExportPath |
Exports CSV version of result nodes to a location selected by the user.
Definition at line 58 of file ExportCSVAction.java.
|
private |
Private constructor for the action.
Definition at line 89 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getInstance().
void org.sleuthkit.autopsy.directorytree.ExportCSVAction.actionPerformed | ( | ActionEvent | e | ) |
Asks user to choose destination, then extracts content to destination (recursing on directories).
e | The action event. |
Definition at line 101 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
staticprivate |
Create a default name for the CSV output.
parent | The parent node for the selected nodes |
Definition at line 167 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
staticprivate |
Get the export directory path.
openCase | The current case. |
Definition at line 200 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory(), and org.sleuthkit.autopsy.directorytree.ExportCSVAction.userDefinedExportPath.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
static |
Get an instance of the Action. See above for why the class is a singleton.
Definition at line 78 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.directorytree.ExportCSVAction.ExportCSVAction(), and org.sleuthkit.autopsy.directorytree.ExportCSVAction.instance.
Referenced by org.sleuthkit.autopsy.datamodel.SpecialDirectoryNode.getActions(), org.sleuthkit.autopsy.datamodel.LocalFileNode.getActions(), org.sleuthkit.autopsy.datamodel.SlackFileNode.getActions(), org.sleuthkit.autopsy.datamodel.DirectoryNode.getActions(), org.sleuthkit.autopsy.datamodel.DataModelActionsFactory.getActions(), org.sleuthkit.autopsy.datamodel.LayoutFileNode.getActions(), org.sleuthkit.autopsy.datamodel.FileNode.getActions(), org.sleuthkit.autopsy.keywordsearch.AdHocSearchFilterNode.GetPopupActionsContentVisitor.getFileActions(), org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.visit(), and org.sleuthkit.autopsy.directorytree.DataResultFilterNode.GetPopupActionsDisplayableItemNodeVisitor.visit().
|
static |
Save the selected nodes to a CSV file
nodesToExport | the nodes to save |
component |
Definition at line 117 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.directorytree.ExportCSVAction.getDefaultOutputFileName(), org.sleuthkit.autopsy.directorytree.ExportCSVAction.getExportDirectory(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.info(), and org.sleuthkit.autopsy.directorytree.ExportCSVAction.updateExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.actionPerformed(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.exportCSVButtonActionPerformed().
|
staticprivate |
Update the default export directory. If the directory path matches the case export directory, then the directory used will always match the export directory of any given case. Otherwise, the path last used will be saved.
exportPath | The export path. |
openCase | The current case. |
Definition at line 224 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
staticprivate |
Definition at line 62 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 61 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 70 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getInstance().
|
staticprivate |
Definition at line 60 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 65 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getExportDirectory().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.