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

Inherits SwingWorker< Void, Void >.

Protected Member Functions

Void doInBackground () throws Exception
 
synchronized void done ()
 
boolean isSuccess ()
 

Private Member Functions

String getCaseIfUnpackedBefore (String packedCaseName)
 
synchronized String getDisplayError ()
 
File locate7ZipExecutable ()
 
synchronized void setDisplayError (String errorStr)
 

Private Attributes

String lastError = ""
 
final String outputFolder
 
final String packagedCase
 
final AtomicBoolean success = new AtomicBoolean()
 

Detailed Description

Swing worker to do the decompression.

Definition at line 135 of file UnpackagePortableCaseProgressDialog.java.

Member Function Documentation

Void org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.doInBackground ( ) throws Exception
protected
synchronized void org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.done ( )
protected
String org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.getCaseIfUnpackedBefore ( String  packedCaseName)
private
synchronized String org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.getDisplayError ( )
private

Gets the error to display to the user

Returns
Error to be displayed in the UI

Definition at line 265 of file UnpackagePortableCaseProgressDialog.java.

boolean org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.isSuccess ( )
protected

Definition at line 269 of file UnpackagePortableCaseProgressDialog.java.

File org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.locate7ZipExecutable ( )
private

Locate the 7-Zip executable from the release folder.

Returns
7-Zip executable

Definition at line 278 of file UnpackagePortableCaseProgressDialog.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.isWindowsOS().

synchronized void org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.setDisplayError ( String  errorStr)
private

Save the error that should be displayed to the user

Parameters
errorStrError to be displayed in the UI

Definition at line 256 of file UnpackagePortableCaseProgressDialog.java.

Member Data Documentation

String org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.lastError = ""
private

Definition at line 141 of file UnpackagePortableCaseProgressDialog.java.

final String org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.outputFolder
private

Definition at line 138 of file UnpackagePortableCaseProgressDialog.java.

final String org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.packagedCase
private

Definition at line 137 of file UnpackagePortableCaseProgressDialog.java.

final AtomicBoolean org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseProgressDialog.UnpackageWorker.success = new AtomicBoolean()
private

Definition at line 140 of file UnpackagePortableCaseProgressDialog.java.


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

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