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

Static Public Member Functions

static boolean imageHasFileSystem (Path dataSourcePath) throws IOException
 
static boolean imageHasFileSystem (Path dataSourcePath, String password) throws IOException
 

Static Private Attributes

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

Detailed Description

Utility methods for working with data sources.

Definition at line 31 of file DataSourceUtils.java.

Member Function Documentation

static boolean org.sleuthkit.autopsy.coreutils.DataSourceUtils.imageHasFileSystem ( Path  dataSourcePath) throws IOException
static

Calls TSK to determine whether a potential data source has a file system.

Parameters
dataSourcePathThe path to the data source.
Returns
True or false.
Exceptions
IOExceptionif an error occurs while trying to determine if the data source has a file system.

Definition at line 45 of file DataSourceUtils.java.

References org::sleuthkit::datamodel::SleuthkitJNI.isImageSupported().

Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.canProcess().

static boolean org.sleuthkit.autopsy.coreutils.DataSourceUtils.imageHasFileSystem ( Path  dataSourcePath,
String  password 
) throws IOException
static

Calls TSK to determine whether a potential data source has a file system.

Parameters
dataSourcePathThe path to the data source.
passwordThe password to decrypt the image.
Returns
True or false.
Exceptions
IOExceptionif an error occurs while trying to determine if the data source has a file system.

Definition at line 61 of file DataSourceUtils.java.

References org::sleuthkit::datamodel::SleuthkitJNI.testOpenImage().

Member Data Documentation

final Logger org.sleuthkit.autopsy.coreutils.DataSourceUtils.logger = Logger.getLogger(DataSourceUtils.class.getName())
staticprivate

Definition at line 32 of file DataSourceUtils.java.


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

Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.