Autopsy  4.1
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.framework.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 41 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.framework.AutopsyService.

Definition at line 68 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

Definition at line 50 of file ImageWriterService.java.

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

Gets the service name.

Returns
The service name.

Implements org.sleuthkit.autopsy.framework.AutopsyService.

Definition at line 63 of file ImageWriterService.java.

default void org.sleuthkit.autopsy.framework.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, and org.sleuthkit.autopsy.test.TestAutopsyService.

Definition at line 54 of file AutopsyService.java.

Member Data Documentation

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

Definition at line 43 of file ImageWriterService.java.

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

Definition at line 44 of file ImageWriterService.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.