19 package org.sleuthkit.autopsy.datamodel;
21 import org.openide.util.NbBundle;
29 class RecentFiles
implements AutopsyVisitableItem {
34 AUT_0DAY_FILTER(0,
"AUT_0DAY_FILTER",
35 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut0DayFilter.displayName.text"), 0),
36 AUT_1DAY_FILTER(0,
"AUT_1DAY_FILTER",
37 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut1dayFilter.displayName.text"), 1),
38 AUT_2DAY_FILTER(0,
"AUT_2DAY_FILTER",
39 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut2dayFilter.displayName.text"), 2),
40 AUT_3DAY_FILTER(0,
"AUT_3DAY_FILTER",
41 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut3dayFilter.displayName.text"), 3),
42 AUT_4DAY_FILTER(0,
"AUT_4DAY_FILTER",
43 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut4dayFilter.displayName.text"), 4),
44 AUT_5DAY_FILTER(0,
"AUT_5DAY_FILTER",
45 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut5dayFilter.displayName.text"), 5),
46 AUT_6DAY_FILTER(0,
"AUT_6DAY_FILTER",
47 NbBundle.getMessage(RecentFiles.class,
"RecentFiles.aut6dayFilter.displayName.text"), 6);
57 this.displayName = displayName;
58 this.durationDays = durationDays;
70 return this.displayName;
74 return this.durationDays;
78 public <T> T
accept(AutopsyItemVisitor<T> v) {
90 public <T> T accept(AutopsyItemVisitor<T> v) {
93 public SleuthkitCase getSleuthkitCase(){
RecentFilesFilter(int id, String name, String displayName, int durationDays)
public< T > T accept(AutopsyItemVisitor< T > v)