Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static boolean | isValid (String path, Case.CaseType caseType) |
static boolean | isValidForMultiUserCase (String path, Case.CaseType caseType) |
static boolean | isValidForRunningOnTarget (String path) |
Static Private Member Functions | |
static boolean | checkForLiveAutopsy () |
static boolean | pathIsMedia (String filePath) |
static boolean | pathOnCDrive (String filePath) |
Static Private Attributes | |
static final Pattern | driveLetterPattern = Pattern.compile("^[Cc]:.*$") |
static final Pattern | unixMediaDrivePattern = Pattern.compile("^\\/(media|mnt)\\/.*$") |
Validates absolute path (e.g. to a data source or case output folder) depending on case type.
Definition at line 30 of file PathValidator.java.
|
staticprivate |
Checks whether Autopsy is running from the external disk
Definition at line 75 of file PathValidator.java.
References org.sleuthkit.autopsy.core.RuntimeProperties.isRunningInTarget().
Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.isValidForRunningOnTarget().
|
static |
Checks if the provided path is valid given the case type.
path | - the path to validate |
caseType | - the type of case which the path is being validated for |
Definition at line 115 of file PathValidator.java.
References org.sleuthkit.autopsy.coreutils.PathValidator.isValidForMultiUserCase().
|
static |
Checks if the provided path is valid given the case type.
path | - the path to validate |
caseType | - the type of case which the path is being validated for |
Definition at line 43 of file PathValidator.java.
References org.sleuthkit.autopsy.casemodule.Case.CaseType.MULTI_USER_CASE, and org.sleuthkit.autopsy.coreutils.PathValidator.pathOnCDrive().
Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.isValid(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().
|
static |
Definition at line 57 of file PathValidator.java.
References org.sleuthkit.autopsy.coreutils.PathValidator.checkForLiveAutopsy(), org.sleuthkit.autopsy.coreutils.PlatformUtil.isWindowsOS(), org.sleuthkit.autopsy.coreutils.PathValidator.pathIsMedia(), and org.sleuthkit.autopsy.coreutils.PathValidator.pathOnCDrive().
|
staticprivate |
Checks whether a file path contains "/mnt" or "/media"
filePath | Input file absolute path |
Definition at line 86 of file PathValidator.java.
Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.isValidForRunningOnTarget().
|
staticprivate |
Checks whether a file path contains drive letter defined by pattern.
filePath | Input file absolute path |
Definition at line 98 of file PathValidator.java.
Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.isValidForMultiUserCase(), and org.sleuthkit.autopsy.coreutils.PathValidator.isValidForRunningOnTarget().
|
staticprivate |
Definition at line 32 of file PathValidator.java.
|
staticprivate |
Definition at line 33 of file PathValidator.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.