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

Inherits SwingWorker< Object, Void >.

Protected Member Functions

Object doInBackground () throws Exception
 
void done ()
 

Private Member Functions

String escapeQuotes (String original)
 
String listToCSV (List< String > values)
 

Private Attributes

final Collection<?extends Node > nodesToExport
 
final File outputFile
 
ProgressHandle progress
 

Static Private Attributes

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

Detailed Description

Thread that does the actual extraction work

Definition at line 239 of file ExportCSVAction.java.

Member Function Documentation

Object org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.doInBackground ( ) throws Exception
protected
void org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.done ( )
protected
String org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.escapeQuotes ( String  original)
private

Escape any quotes in the string

Parameters
original
Returns
the string with quotes escaped

Definition at line 326 of file ExportCSVAction.java.

Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.doInBackground().

String org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.listToCSV ( List< String >  values)
private

Convert list of values to a comma separated string.

Parameters
valuesValues to convert
Returns
values as CSV

Definition at line 337 of file ExportCSVAction.java.

Referenced by org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.doInBackground().

Member Data Documentation

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

Definition at line 241 of file ExportCSVAction.java.

final Collection<? extends Node> org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.nodesToExport
private

Definition at line 244 of file ExportCSVAction.java.

final File org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.outputFile
private

Definition at line 245 of file ExportCSVAction.java.

ProgressHandle org.sleuthkit.autopsy.directorytree.ExportCSVAction.CSVWriter.progress
private

Definition at line 242 of file ExportCSVAction.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.