Autopsy  4.19.3
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.logicalimager.dsp.DriveListUtils Class Reference

Static Public Member Functions

static String humanReadableByteCount (long bytes, boolean si)
 
static boolean isNetworkDrive (String driveLetter)
 

Private Member Functions

 DriveListUtils ()
 

Detailed Description

Utility class for displaying a list of drives

Definition at line 30 of file DriveListUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.logicalimager.dsp.DriveListUtils.DriveListUtils ( )
private

Empty private constructor for util class

Definition at line 54 of file DriveListUtils.java.

Member Function Documentation

static String org.sleuthkit.autopsy.logicalimager.dsp.DriveListUtils.humanReadableByteCount ( long  bytes,
boolean  si 
)
static

Convert a number of bytes to a human readable string

Parameters
bytesthe number of bytes to convert
siwhether it takes 1000 or 1024 of a unit to reach the next unit
Returns
a human readable string representing the number of bytes

Definition at line 41 of file DriveListUtils.java.

static boolean org.sleuthkit.autopsy.logicalimager.dsp.DriveListUtils.isNetworkDrive ( String  driveLetter)
static

Use the command net to determine what this drive is. net use will return an error for anything which isn't a share.

Definition at line 61 of file DriveListUtils.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.