Go to the documentation of this file.
20package org.sleuthkit.autopsy.commonpropertiessearch;
22import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationCase;
23import org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoException;
24import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type;
25import org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository;
33 private final CentralRepository dbManager;
37 final Type corAttrType;
50 InterCaseCommonAttributeSearcher(
boolean filterByMediaMimeType,
boolean filterByDocMimeType, Type corAttrType,
int percentageThreshold)
throws CentralRepoException {
51 super(filterByMediaMimeType, filterByDocMimeType, percentageThreshold);
52 dbManager = CentralRepository.getInstance();
53 this.corAttrType = corAttrType;
56 protected CorrelationCase getCorrelationCaseFromId(
int correlationCaseId)
throws CentralRepoException {
57 for (CorrelationCase cCase : this.dbManager.getCases()) {
58 if (cCase.getID() == correlationCaseId) {
62 throw new IllegalArgumentException(
"Cannot locate case.");
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.