20 package org.sleuthkit.autopsy.casemodule;
22 import javax.swing.JPanel;
24 import org.openide.util.NbBundle;
25 import org.openide.util.lookup.ServiceProvider;
32 @ServiceProvider(service = DataSourceProcessor.class)
38 private static final String dsType = NbBundle.getMessage(
LocalDiskDSProcessor.class,
"LocalDiskDSProcessor.dsType.text");
48 private boolean cancelled =
false;
53 private boolean localDiskOptionsSet =
false;
66 localDiskPanel = LocalDiskPanel.getDefault();
93 localDiskPanel.select();
94 return localDiskPanel;
103 return localDiskPanel.validatePanel();
119 if (!localDiskOptionsSet) {
121 localDiskPath = localDiskPanel.getContentPaths();
122 timeZone = localDiskPanel.getTimeZone();
123 noFatOrphans = localDiskPanel.getNoFatOrphans();
126 addDiskTask =
new AddImageTask(localDiskPath, timeZone, noFatOrphans, progressMonitor, cbObj);
127 new Thread(addDiskTask).start();
139 addDiskTask.cancelTask();
149 localDiskPanel.reset();
152 localDiskOptionsSet =
false;
153 localDiskPath = null;
155 noFatOrphans =
false;
170 this.localDiskPath = diskPath;
172 this.noFatOrphans = noFat;
174 localDiskOptionsSet =
true;
void run(DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback cbObj)
String getDataSourceType()
void setDataSourceOptions(String diskPath, String tz, boolean noFat)
static Logger getLogger(String name)
final LocalDiskPanel localDiskPanel