19 package org.sleuthkit.autopsy.casemodule;
21 import javax.swing.JPanel;
22 import java.util.ArrayList;
23 import java.util.List;
24 import javax.swing.filechooser.FileFilter;
26 import org.openide.util.NbBundle;
27 import org.openide.util.lookup.ServiceProvider;
40 @ServiceProvider(service = DataSourceProcessor.class)
46 private final static String dsType = NbBundle.getMessage(
ImageDSProcessor.class,
"ImageDSProcessor.dsType.text");
55 private boolean cancelled =
false;
60 private boolean imageOptionsSet =
false;
70 static final List<String> allExt =
new ArrayList<>();
75 static final String allDesc = NbBundle.getMessage(
ImageDSProcessor.class,
"ImageDSProcessor.allDesc.text");
78 static final List<FileFilter> filtersList =
new ArrayList<>();
81 filtersList.add(allFilter);
82 filtersList.add(rawFilter);
83 filtersList.add(encaseFilter);
122 return imageFilePanel;
149 if (!imageOptionsSet)
160 addImageTask =
new AddImageTask(imagePath, timeZone, noFatOrphans, progressMonitor, cbObj);
161 new Thread(addImageTask).start();
172 addImageTask.cancelTask();
182 imageFilePanel.
reset();
185 imageOptionsSet =
false;
188 noFatOrphans =
false;
202 this.imagePath = imgPath;
204 this.noFatOrphans = noFat;
206 imageOptionsSet =
true;
boolean getNoFatOrphans()
void run(DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback cbObj)
String getDataSourceType()
static final String RAW_IMAGE_DESC
final ImageFilePanel imageFilePanel
static synchronized ImageFilePanel createInstance(String context, List< FileFilter > fileChooserFilters)
AddImageTask addImageTask
static final String ENCASE_IMAGE_DESC
static final List< String > ENCASE_IMAGE_EXTS
void setDataSourceOptions(String imgPath, String tz, boolean noFat)
static Logger getLogger(String name)
static final List< String > RAW_IMAGE_EXTS