Autopsy
4.19.3
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 JFileChooserFactory | chooserHelper = new JFileChooserFactory() |
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 59 of file ExportCSVAction.java.
|
private |
Private constructor for the action.
Definition at line 92 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 104 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 170 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 203 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 81 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.AttachmentNode.getActions(), org.sleuthkit.autopsy.datamodel.LayoutFileNode.getActions(), org.sleuthkit.autopsy.datamodel.FileNode.getActions(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.getActions(), org.sleuthkit.autopsy.keywordsearch.AdHocSearchFilterNode.GetPopupActionsContentVisitor.getFileActions(), and org.sleuthkit.autopsy.directorytree.ExplorerNodeActionVisitor.visit().
|
static |
Save the selected nodes to a CSV file
nodesToExport | the nodes to save |
component |
Definition at line 120 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.guiutils.JFileChooserFactory.getChooser(), 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 227 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
staticprivate |
Definition at line 73 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 63 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 62 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 71 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getInstance().
|
staticprivate |
Definition at line 61 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 66 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getExportDirectory().
Copyright © 2012-2022 Basis Technology. Generated on: Sat Apr 1 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.