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

Static Public Member Functions

static String getAbsolutePath (String workingDirectory, String relPath)
 
static List< String > getAbsolutePaths (String workingDirectory, List< String > relPaths)
 

Private Member Functions

 PathUtil ()
 

Detailed Description

Retrieves absolute paths relative to a working directory.

Definition at line 29 of file PathUtil.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.integrationtesting.PathUtil.PathUtil ( )
private

Definition at line 71 of file PathUtil.java.

Member Function Documentation

static String org.sleuthkit.autopsy.integrationtesting.PathUtil.getAbsolutePath ( String  workingDirectory,
String  relPath 
)
static

If the relPath is an absolute path, that is returned. Otherwise, it is treated as a relative path using the working directory.

Parameters
workingDirectoryThe working directory.
relPathThe path.
Returns
The relPath with the workingDirectory prepended if relPath is a relative path.

Definition at line 40 of file PathUtil.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.createCaseWithDataSources(), org.sleuthkit.autopsy.integrationtesting.PathUtil.getAbsolutePaths(), org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.getIntegrationTestConfig(), org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests(), and org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTestSuite().

static List<String> org.sleuthkit.autopsy.integrationtesting.PathUtil.getAbsolutePaths ( String  workingDirectory,
List< String >  relPaths 
)
static

If one of the relPaths is an absolute path, that is returned. Otherwise, each is treated as a relative path using the working directory.

Parameters
workingDirectoryThe working directory.
relPathsThe paths.
Returns
The list of paths with the workingDirectory prepended if a path is a relative path.

Definition at line 61 of file PathUtil.java.

References org.sleuthkit.autopsy.integrationtesting.PathUtil.getAbsolutePath().

Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.createCaseWithDataSources().


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.