Autopsy
4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static String | getSizeString (Long size) |
static String | getSizeString (Long size, DecimalFormat format, boolean showFullSize) |
Private Member Functions | |
SizeRepresentationUtil () | |
Static Private Attributes | |
static final DecimalFormat | APPROXIMATE_SIZE_FORMAT = new DecimalFormat("#.##") |
static final int | SIZE_CONVERSION_CONSTANT = 1000 |
static List< String > | UNITS |
This class provides utilities for representing storage size in most relevant units (i.e. bytes, megabytes, etc.).
Definition at line 30 of file SizeRepresentationUtil.java.
|
private |
Definition at line 101 of file SizeRepresentationUtil.java.
|
static |
Get a long size in bytes as a string formated to be read by users.
size | Long value representing a size in bytes. |
Definition at line 52 of file SizeRepresentationUtil.java.
|
static |
Get a long size in bytes as a string formated to be read by users.
size | Long value representing a size in byte.s |
format | The means of formatting the number. |
showFullSize | Optionally show the number of bytes in the datasource. |
Definition at line 75 of file SizeRepresentationUtil.java.
References org.sleuthkit.autopsy.datasourcesummary.ui.SizeRepresentationUtil.SIZE_CONVERSION_CONSTANT.
|
staticprivate |
Definition at line 33 of file SizeRepresentationUtil.java.
|
staticprivate |
Definition at line 32 of file SizeRepresentationUtil.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.SizeRepresentationUtil.getSizeString().
|
staticprivate |
Definition at line 35 of file SizeRepresentationUtil.java.
Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.