Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
FileSize (int ranking, long minB, long maxB, String displayName, String displaySize) | |
long | getMaxBytes () |
long | getMinBytes () |
int | getRanking () |
String | getSizeGroup () |
String | toString () |
Static Public Member Functions | |
static FileSize | fromImageSize (long size) |
static FileSize | fromVideoSize (long size) |
static List< FileSize > | getDefaultSizeOptions () |
static List< FileSize > | getOptionsForVideos () |
Public Attributes | |
LARGE_IMAGE =(8, 1 * BYTES_PER_MB, 50 * BYTES_PER_MB, Bundle.SearchData_FileSize_LARGE_displayName(), Bundle.SearchData_FileSize_1mbto50mb()) | |
LARGE_VIDEO =(2, 1000 * BYTES_PER_MB, 5000 * BYTES_PER_MB, Bundle.SearchData_FileSize_LARGE_displayName(), Bundle.SearchData_FileSize_1gbto5gb()) | |
MEDIUM_IMAGE =(9, 100000, 1 * BYTES_PER_MB, Bundle.SearchData_FileSize_MEDIUM_displayName(), Bundle.SearchData_FileSize_100kbto1mb()) | |
MEDIUM_VIDEO =(3, 100 * BYTES_PER_MB, 1000 * BYTES_PER_MB, Bundle.SearchData_FileSize_MEDIUM_displayName(), Bundle.SearchData_FileSize_100mbto1gb()) | |
SMALL_IMAGE =(10, 16000, 100000, Bundle.SearchData_FileSize_SMALL_displayName(), Bundle.SearchData_FileSize_16kbto100kb()) | |
SMALL_VIDEO =(4, 500000, 100 * BYTES_PER_MB, Bundle.SearchData_FileSize_SMALL_displayName(), Bundle.SearchData_FileSize_500kbto100mb()) | |
XLARGE_IMAGE =(7, 50 * BYTES_PER_MB, 200 * BYTES_PER_MB, Bundle.SearchData_FileSize_XLARGE_displayName(), Bundle.SearchData_FileSize_50mbto200mb()) | |
XLARGE_VIDEO =(1, 5000 * BYTES_PER_MB, 10000 * BYTES_PER_MB, Bundle.SearchData_FileSize_XLARGE_displayName(), Bundle.SearchData_FileSize_5gbto10gb()) | |
XSMALL_IMAGE =(11, 0, 16000, Bundle.SearchData_FileSize_XSMALL_displayName(), Bundle.SearchData_FileSize_upTo16kb()) | |
XSMALL_VIDEO =(5, 0, 500000, Bundle.SearchData_FileSize_XSMALL_displayName(), Bundle.SearchData_FileSize_upTo500kb()) | |
XXLARGE_IMAGE =(6, 200 * BYTES_PER_MB, -1, Bundle.SearchData_FileSize_XXLARGE_displayName(), Bundle.SearchData_FileSize_200PlusMb()) | |
XXLARGE_VIDEO =(0, 10000 * BYTES_PER_MB, -1, Bundle.SearchData_FileSize_XXLARGE_displayName(), Bundle.SearchData_FileSize_10PlusGb()) | |
Static Public Attributes | |
staticfinal long | NO_MAXIMUM = -1 |
Private Attributes | |
final String | displaySize |
final long | maxBytes |
final long | minBytes |
final int | ranking |
final String | sizeGroup |
Enum representing the file size.
Definition at line 251 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.FileSize | ( | int | ranking, |
long | minB, | ||
long | maxB, | ||
String | displayName, | ||
String | displaySize | ||
) |
Construct a new FileSize enum value.
ranking | The rank for sorting. |
minB | The minimum size included in this enum value. |
maxB | The maximum size included in this enum value. |
displayName | The display name for this enum value. |
displaySize | The size to display in association with this enum value. |
Definition at line 282 of file SearchData.java.
|
static |
Get the enum corresponding to the given file size for image files. The file size must be strictly greater than minBytes.
size | The file size. |
Definition at line 302 of file SearchData.java.
|
static |
Get the enum corresponding to the given file size for video files. The file size must be strictly greater than minBytes.
size | The file size. |
Definition at line 326 of file SearchData.java.
|
static |
Get the list of enums that are valid for most file sizes.
Definition at line 389 of file SearchData.java.
long org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.getMaxBytes | ( | ) |
Get the upper limit of the range.
Definition at line 347 of file SearchData.java.
long org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.getMinBytes | ( | ) |
Get the lower limit of the range.
Definition at line 356 of file SearchData.java.
|
static |
Get the list of enums that are valid for video sizes.
Definition at line 398 of file SearchData.java.
int org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.getRanking | ( | ) |
Get the rank for sorting.
Definition at line 365 of file SearchData.java.
String org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.getSizeGroup | ( | ) |
Get the name of the size group. For example Small.
Definition at line 379 of file SearchData.java.
String org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.toString | ( | ) |
Definition at line 370 of file SearchData.java.
|
private |
Definition at line 269 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.LARGE_IMAGE =(8, 1 * BYTES_PER_MB, 50 * BYTES_PER_MB, Bundle.SearchData_FileSize_LARGE_displayName(), Bundle.SearchData_FileSize_1mbto50mb()) |
Definition at line 260 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.LARGE_VIDEO =(2, 1000 * BYTES_PER_MB, 5000 * BYTES_PER_MB, Bundle.SearchData_FileSize_LARGE_displayName(), Bundle.SearchData_FileSize_1gbto5gb()) |
Definition at line 254 of file SearchData.java.
|
private |
Definition at line 267 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.MEDIUM_IMAGE =(9, 100000, 1 * BYTES_PER_MB, Bundle.SearchData_FileSize_MEDIUM_displayName(), Bundle.SearchData_FileSize_100kbto1mb()) |
Definition at line 261 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.MEDIUM_VIDEO =(3, 100 * BYTES_PER_MB, 1000 * BYTES_PER_MB, Bundle.SearchData_FileSize_MEDIUM_displayName(), Bundle.SearchData_FileSize_100mbto1gb()) |
Definition at line 255 of file SearchData.java.
|
private |
Definition at line 266 of file SearchData.java.
|
static |
Definition at line 270 of file SearchData.java.
Referenced by org.sleuthkit.autopsy.discovery.search.SearchFiltering.SizeFilter.getWhereClause().
|
private |
Definition at line 265 of file SearchData.java.
|
private |
Definition at line 268 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.SMALL_IMAGE =(10, 16000, 100000, Bundle.SearchData_FileSize_SMALL_displayName(), Bundle.SearchData_FileSize_16kbto100kb()) |
Definition at line 262 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.SMALL_VIDEO =(4, 500000, 100 * BYTES_PER_MB, Bundle.SearchData_FileSize_SMALL_displayName(), Bundle.SearchData_FileSize_500kbto100mb()) |
Definition at line 256 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XLARGE_IMAGE =(7, 50 * BYTES_PER_MB, 200 * BYTES_PER_MB, Bundle.SearchData_FileSize_XLARGE_displayName(), Bundle.SearchData_FileSize_50mbto200mb()) |
Definition at line 259 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XLARGE_VIDEO =(1, 5000 * BYTES_PER_MB, 10000 * BYTES_PER_MB, Bundle.SearchData_FileSize_XLARGE_displayName(), Bundle.SearchData_FileSize_5gbto10gb()) |
Definition at line 253 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XSMALL_IMAGE =(11, 0, 16000, Bundle.SearchData_FileSize_XSMALL_displayName(), Bundle.SearchData_FileSize_upTo16kb()) |
Definition at line 263 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XSMALL_VIDEO =(5, 0, 500000, Bundle.SearchData_FileSize_XSMALL_displayName(), Bundle.SearchData_FileSize_upTo500kb()) |
Definition at line 257 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XXLARGE_IMAGE =(6, 200 * BYTES_PER_MB, -1, Bundle.SearchData_FileSize_XXLARGE_displayName(), Bundle.SearchData_FileSize_200PlusMb()) |
Definition at line 258 of file SearchData.java.
org.sleuthkit.autopsy.discovery.search.SearchData.FileSize.XXLARGE_VIDEO =(0, 10000 * BYTES_PER_MB, -1, Bundle.SearchData_FileSize_XXLARGE_displayName(), Bundle.SearchData_FileSize_10PlusGb()) |
Definition at line 252 of file SearchData.java.
Copyright © 2012-2022 Basis Technology. Generated on: Tue Mar 21 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.