Autopsy
4.21.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 JFileChooserFactory | chooserHelper = new JFileChooserFactory() |
static final int | COLUMN_SAMPLING_ROW_NUM = 100 |
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 63 of file ExportCSVAction.java.
|
private |
Private constructor for the action.
Definition at line 97 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 109 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 175 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 208 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 86 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 125 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 232 of file ExportCSVAction.java.
References org.sleuthkit.autopsy.casemodule.Case.getExportDirectory().
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.saveNodesToCSV().
|
staticprivate |
Definition at line 78 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 65 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 68 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 67 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 76 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getInstance().
|
staticprivate |
Definition at line 66 of file ExportCSVAction.java.
|
staticprivate |
Definition at line 71 of file ExportCSVAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.getExportDirectory().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.