Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
MimeTypeSummary () | |
MimeTypeSummary (SleuthkitCaseProvider provider) | |
Long | getCountOfAllRegularFiles (DataSource dataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Long | getCountOfFilesForMimeTypes (DataSource currentDataSource, Set< String > setOfMimeTypes) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Long | getCountOfFilesNotInMimeTypes (DataSource currentDataSource, Set< String > setOfMimeTypes) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Long | getCountOfFilesWithNoMimeType (DataSource currentDataSource) throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Private Member Functions | |
String | getSqlSet (Set< String > setValues) |
Private Attributes | |
final SleuthkitCaseProvider | provider |
Class to export summary information used by TypesPanel tab on the known files present in the specified DataSource.
Definition at line 33 of file MimeTypeSummary.java.
org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.MimeTypeSummary | ( | ) |
Main constructor.
Definition at line 40 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.DEFAULT.
org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.MimeTypeSummary | ( | SleuthkitCaseProvider | provider | ) |
Main constructor.
provider | The means of obtaining a sleuthkit case. |
Definition at line 49 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.provider.
Long org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfAllRegularFiles | ( | DataSource | dataSource | ) | throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Get a count of all regular files in a datasource.
dataSource | The datasource. |
SleuthkitCaseProviderException | |
TskCoreException | |
SQLException |
Definition at line 110 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.getCountOfRegNonSlackFiles().
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.MimeTypeSummaryGetter.getCountOfAllRegularFiles().
Long org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesForMimeTypes | ( | DataSource | currentDataSource, |
Set< String > | setOfMimeTypes | ||
) | throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Get the number of files in the case database for the current data source which have the specified mimetypes.
currentDataSource | the data source which we are finding a file count |
setOfMimeTypes | the set of mime types which we are finding the number of occurences of |
SleuthkitCaseProviderException | |
TskCoreException | |
SQLException |
Definition at line 71 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.getCountOfRegNonSlackFiles(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getSqlSet().
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.MimeTypeSummaryGetter.getCountOfFilesForMimeTypes().
Long org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesNotInMimeTypes | ( | DataSource | currentDataSource, |
Set< String > | setOfMimeTypes | ||
) | throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Get the number of files in the case database for the current data source which do not have the specified mimetypes.
currentDataSource | the data source which we are finding a file count |
setOfMimeTypes | the set of mime types that should be excluded. |
SleuthkitCaseProviderException | |
TskCoreException | |
SQLException |
Definition at line 92 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.getCountOfRegNonSlackFiles(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getSqlSet().
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.MimeTypeSummaryGetter.getCountOfFilesNotInMimeTypes().
Long org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesWithNoMimeType | ( | DataSource | currentDataSource | ) | throws SleuthkitCaseProvider.SleuthkitCaseProviderException, TskCoreException, SQLException |
Gets the number of files in the data source with no assigned mime type.
currentDataSource | The data source. |
SleuthkitCaseProviderException | |
TskCoreException | |
SQLException |
Definition at line 127 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.getCountOfRegNonSlackFiles().
Referenced by org.sleuthkit.autopsy.datasourcesummary.ui.MimeTypeSummaryGetter.getCountOfFilesWithNoMimeType().
|
private |
Derives a sql set string (i.e. "('val1', 'val2', 'val3')"). A naive attempt is made to sanitize the strings by removing single quotes from values.
setValues | The values that should be present in the set. Single quotes are removed. |
Definition at line 142 of file MimeTypeSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesForMimeTypes(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesNotInMimeTypes().
|
private |
Definition at line 35 of file MimeTypeSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.MimeTypeSummary().
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.