Autopsy  4.21.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.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

Constructor & Destructor Documentation

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

Empty private constructor for util class

Definition at line 54 of file

Member Function Documentation

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

Convert a number of bytes to a human readable string

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

Definition at line 41 of file

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

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

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

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