Autopsy
4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static boolean | driveExists (String path) |
static boolean | isPartition (String path) |
static boolean | isPhysicalDrive (String path) |
Private Member Functions | |
DriveUtils () | |
Static Private Attributes | |
static final String | COLON = ":" |
static final String | DEV = "/dev/" |
static final String | PARTITION = "\\\\.\\" |
static final String | PDISK = "\\\\.\\physicaldrive" |
Utility methods for working with drives.
Definition at line 29 of file DriveUtils.java.
|
private |
Prevents instantiation.
Definition at line 88 of file DriveUtils.java.
|
static |
Determines whether or not a drive exists by reading the first byte and checking if it is a -1.
path | The path to test. |
Definition at line 66 of file DriveUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.canProcess(), and org.sleuthkit.autopsy.casemodule.Case.updateGUIForCaseOpened().
|
static |
Determines whether or not a given path is for a local drive or partition.
path | The path to test. |
Definition at line 54 of file DriveUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.canProcess(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().
|
static |
Determines whether or not a given path is for a physical drive.
path | The path to test. |
Definition at line 43 of file DriveUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.canProcess(), and org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().
|
staticprivate |
Definition at line 34 of file DriveUtils.java.
|
staticprivate |
Definition at line 32 of file DriveUtils.java.
|
staticprivate |
Definition at line 33 of file DriveUtils.java.
|
staticprivate |
Definition at line 31 of file DriveUtils.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.