Autopsy
4.7.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 Private Member Functions | |
static boolean | pathOnCDrive (String filePath) |
Static Private Attributes | |
static final Pattern | driveLetterPattern = Pattern.compile("^[Cc]:.*$") |
Validates absolute path (e.g. to a data source or case output folder) depending on case type.
Definition at line 29 of file PathValidator.java.
|
static |
Definition at line 33 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.casemodule.ImageFilePanel.validatePanel().
|
staticprivate |
Checks whether a file path contains drive letter defined by pattern.
filePath | Input file absolute path |
Definition at line 54 of file PathValidator.java.
Referenced by org.sleuthkit.autopsy.coreutils.PathValidator.isValid().
|
staticprivate |
Definition at line 31 of file PathValidator.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.