Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.imagewriter.ImageWriterService Class Reference

Inherits org.sleuthkit.autopsy.appservices.AutopsyService.

Public Member Functions

void closeCaseResources (CaseContext context) throws AutopsyServiceException
 
String getServiceName ()
 
default void openCaseResources (CaseContext context) throws AutopsyServiceException
 

Static Public Member Functions

static void createImageWriter (Long imageId, ImageWriterSettings settings)
 

Static Private Attributes

static final List< ImageWriter > imageWriters = new ArrayList<>()
 
static final Object imageWritersLock = new Object()
 

Detailed Description

Creates and handles closing of ImageWriter objects. Currently, ImageWriter is only enabled for local disks, and local disks can not be processed in multi user mode. If ImageWriter is ever enabled for multi user cases this code will need to be revised.

Definition at line 37 of file ImageWriterService.java.

Member Function Documentation

void org.sleuthkit.autopsy.imagewriter.ImageWriterService.closeCaseResources ( CaseContext  context) throws AutopsyServiceException

Closes any case-level resources managed by the service.

Parameters
contextThe case context which includes things such as the case, a progress indicator for the operation, a cancellation request flag, etc.
Exceptions
org.sleuthkit.autopsy.framework.AutopsyService.AutopsyServiceException

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 66 of file ImageWriterService.java.

static void org.sleuthkit.autopsy.imagewriter.ImageWriterService.createImageWriter ( Long  imageId,
ImageWriterSettings  settings 
)
static

Create an image writer object for the given data source ID.

Parameters
imageIdID for the image.
settingsImage writer settings to be used when writing the image.

Definition at line 48 of file ImageWriterService.java.

String org.sleuthkit.autopsy.imagewriter.ImageWriterService.getServiceName ( )

Gets the service name.

Returns
The service name.

Implements org.sleuthkit.autopsy.appservices.AutopsyService.

Definition at line 61 of file ImageWriterService.java.

default void org.sleuthkit.autopsy.appservices.AutopsyService.openCaseResources ( CaseContext  context) throws AutopsyServiceException
inherited

Creates, opens or upgrades any case-level resources managed by the service.

Parameters
contextThe case context which includes things such as the case, a progress indicator for the operation, a cancellation request flag, etc.
Exceptions
org.sleuthkit.autopsy.framework.AutopsyService.AutopsyServiceException

Implemented in org.sleuthkit.autopsy.keywordsearch.SolrSearchService, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepositoryService, and org.sleuthkit.autopsy.test.TestAutopsyService.

Definition at line 57 of file AutopsyService.java.

Member Data Documentation

final List<ImageWriter> org.sleuthkit.autopsy.imagewriter.ImageWriterService.imageWriters = new ArrayList<>()
staticprivate

Definition at line 39 of file ImageWriterService.java.

final Object org.sleuthkit.autopsy.imagewriter.ImageWriterService.imageWritersLock = new Object()
staticprivate

Definition at line 40 of file ImageWriterService.java.


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

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