19 package org.sleuthkit.autopsy.modules.fileextmismatch;
26 final class FileExtMismatchDetectorModuleSettings
implements IngestModuleIngestJobSettings {
28 private static final long serialVersionUID = 1L;
29 private boolean skipFilesWithNoExtension =
true;
30 private boolean skipFilesWithTextPlainMimeType =
true;
32 FileExtMismatchDetectorModuleSettings() {
35 FileExtMismatchDetectorModuleSettings(
boolean skipKnownFiles,
boolean skipFilesWithNoExtension,
boolean skipFilesWithTextPlainMimeType) {
36 this.skipFilesWithNoExtension = skipFilesWithNoExtension;
37 this.skipFilesWithTextPlainMimeType = skipFilesWithTextPlainMimeType;
41 public long getVersionNumber() {
42 return serialVersionUID;
45 void setSkipFilesWithNoExtension(
boolean enabled) {
46 skipFilesWithNoExtension = enabled;
49 boolean skipFilesWithNoExtension() {
50 return skipFilesWithNoExtension;
53 void setSkipFilesWithTextPlainMimeType(
boolean enabled) {
54 skipFilesWithTextPlainMimeType = enabled;
57 boolean skipFilesWithTextPlainMimeType() {
58 return skipFilesWithTextPlainMimeType;