Go to the documentation of this file.
20package org.sleuthkit.autopsy.commonpropertiessearch;
23import org.openide.util.NbBundle;
24import org.sleuthkit.datamodel.TskData.FileKnown;
31 private static final String
WHERE_CLAUSE =
"%s md5 in (select md5 from tsk_files where md5 in (select md5 from tsk_files where (known != " + FileKnown.KNOWN.getFileKnownValue() +
" OR known IS NULL) and data_source_obj_id=%s%s) GROUP BY md5 HAVING COUNT(DISTINCT data_source_obj_id) > 1) order by md5";
49 super(dataSourceIdMap, filterByMediaMimeType, filterByDocMimeType, percentageThreshold);
50 this.selectedDataSourceId = dataSourceId;
51 this.dataSourceName = dataSourceIdMap.get(this.selectedDataSourceId);
56 Object[] args =
new String[]{SELECT_PREFIX, Long.toString(this.selectedDataSourceId), determineMimeTypeFilter()};
61 "# {0} - data source name",
62 "# {1} - build category",
63 "# {2} - threshold string",
64 "SingleIntraCaseCommonAttributeSearcher.buildTabTitle.titleIntraSingle=Common Properties (Data Source: {0}, {1}{2})"})
66 String getTabTitle() {
67 return Bundle.SingleIntraCaseCommonAttributeSearcher_buildTabTitle_titleIntraSingle(this.dataSourceName, this.buildCategorySelectionString(), this.getPercentThresholdString());
static final String WHERE_CLAUSE
final Long selectedDataSourceId
String buildSqlSelectStatement()
final String dataSourceName
SingleIntraCaseCommonAttributeSearcher(Long dataSourceId, Map< Long, String > dataSourceIdMap, boolean filterByMediaMimeType, boolean filterByDocMimeType, int percentageThreshold)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.