Added filetype guessing to the import wizard.

This commit is contained in:
Robert Greene 2003-02-17 04:43:51 +00:00
parent 1c4f1de543
commit 9e5b15ceb4

View File

@ -161,7 +161,8 @@ public class ImportSelectFilesWizardPane extends WizardPane {
for (int i=0; i<filenames.length; i++) { for (int i=0; i<filenames.length; i++) {
ImportSpecification spec = new ImportSpecification( ImportSpecification spec = new ImportSpecification(
path + File.separatorChar+ filenames[i], path + File.separatorChar+ filenames[i],
wizard.getDisk().getSuggestedFilename(filenames[i])); wizard.getDisk().getSuggestedFilename(filenames[i]),
wizard.getDisk().getSuggestedFiletype(filenames[i]));
wizard.addImportSpecification(spec); wizard.addImportSpecification(spec);
} }
refreshTable(); refreshTable();