Autopsy
4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.
Public Member Functions | |
MimeTypeSummary () | |
MimeTypeSummary (SleuthkitCaseProvider provider) | |
default Set< Case.Events > | getCaseEventUpdates () |
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 |
Set< IngestManager.IngestJobEvent > | getIngestJobEventUpdates () |
default boolean | isRefreshRequired (ModuleDataEvent evt) |
default boolean | isRefreshRequired (IngestManager.IngestJobEvent evt) |
boolean | isRefreshRequired (ModuleContentEvent evt) |
boolean | isRefreshRequired (AbstractFile file) |
boolean | isRefreshRequired (IngestManager.IngestJobEvent evt) |
default boolean | isRefreshRequiredForCaseEvent (PropertyChangeEvent evt) |
Private Member Functions | |
String | getSqlSet (Set< String > setValues) |
Private Attributes | |
final SleuthkitCaseProvider | provider |
Static Private Attributes | |
static final Set< IngestManager.IngestJobEvent > | INGEST_JOB_EVENTS |
Provides methods to query for datasource files by mime type.
Definition at line 38 of file MimeTypeSummary.java.
org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.MimeTypeSummary | ( | ) |
Main constructor.
Definition at line 48 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 57 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.provider.
|
inherited |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.
Definition at line 57 of file DefaultUpdateGovernor.java.
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 147 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().
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 99 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getSqlSet().
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 125 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getSqlSet().
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 165 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.SleuthkitCaseProvider.get().
Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getIngestJobEventUpdates | ( | ) |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.
Definition at line 77 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.INGEST_JOB_EVENTS.
|
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 185 of file MimeTypeSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesForMimeTypes(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getCountOfFilesNotInMimeTypes().
|
inherited |
Given a module data event, whether or not an update should occur.
evt | The ModuleDataEvent that is occurring. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.
Definition at line 47 of file DefaultUpdateGovernor.java.
|
inherited |
Implemented in org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultArtifactUpdateGovernor.
Definition at line 52 of file DefaultUpdateGovernor.java.
boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.isRefreshRequired | ( | ModuleContentEvent | evt | ) |
Given a module content event, whether or not an update should occur.
evt | The ModuleContentEvent. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.
Definition at line 62 of file MimeTypeSummary.java.
boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.isRefreshRequired | ( | AbstractFile | evt | ) |
Whether or not a newly added AbstractFile should trigger an update.
evt | The AbstractFile. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.DefaultUpdateGovernor.
Definition at line 67 of file MimeTypeSummary.java.
boolean org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.isRefreshRequired | ( | IngestManager.IngestJobEvent | evt | ) |
Given an ingest job event, determines whether or not an update should occur.
evt | The event. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.
Definition at line 72 of file MimeTypeSummary.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.INGEST_JOB_EVENTS.
|
inherited |
Given a case event, whether or not an update should occur.
evt | The event. |
Implements org.sleuthkit.autopsy.datasourcesummary.uiutils.UpdateGovernor.
Definition at line 37 of file DefaultUpdateGovernor.java.
|
staticprivate |
Definition at line 42 of file MimeTypeSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.getIngestJobEventUpdates(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.isRefreshRequired().
|
private |
Definition at line 40 of file MimeTypeSummary.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.datamodel.MimeTypeSummary.MimeTypeSummary().
Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.