Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper Class Reference

Private Member Functions

 ZipFileStatusWrapper (AbstractFile file, ZipFileStatus status)
 
AbstractFile getFile ()
 
ZipFileStatus getStatus ()
 
void setStatus (ZipFileStatus status)
 

Private Attributes

final AbstractFile abstractFile
 
ZipFileStatus zipStatus
 

Detailed Description

A class which wraps an AbstractFile and an enum identifing whether the file which exists in the case database is current

Definition at line 1609 of file SevenZipExtractor.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.ZipFileStatusWrapper ( AbstractFile  file,
ZipFileStatus  status 
)
private

Construct a ZipFileStatusWrapper to wrap the given AbstractFile and status

Parameters
file- The AbstractFile which exists in the case database
status- an indicator of if the file information is current

Definition at line 1621 of file SevenZipExtractor.java.

Member Function Documentation

AbstractFile org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.getFile ( )
private

Get the AbstractFile contained in this object

Returns
archiveFile - The archiveFile this object wraps

Definition at line 1631 of file SevenZipExtractor.java.

References org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.abstractFile.

Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackedTree.updateOrAddFileToCaseRec().

ZipFileStatus org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.getStatus ( )
private

Get whether the file should be skipped or updated

Returns
zipStatus - an Enum value indicating if the file is current

Definition at line 1640 of file SevenZipExtractor.java.

References org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.zipStatus.

Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackedTree.updateOrAddFileToCaseRec().

void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.setStatus ( ZipFileStatus  status)
private

Set the zipStatus of the file being wrapped when it changes

Parameters
status- an Enum value indicating if the file is current

Definition at line 1649 of file SevenZipExtractor.java.

Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackedTree.updateOrAddFileToCaseRec().

Member Data Documentation

final AbstractFile org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.abstractFile
private
ZipFileStatus org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.ZipFileStatusWrapper.zipStatus
private

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

Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.