Revision 5acb8103
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/abcd/AbcdImportWizardE4.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.io.e4.in.abcd; |
10 | 10 |
|
11 |
import java.io.File; |
|
12 |
|
|
13 | 11 |
import javax.inject.Inject; |
14 | 12 |
|
15 | 13 |
import org.eclipse.e4.core.contexts.ContextInjectionFactory; |
... | ... | |
55 | 53 |
configurator.setClassificationUuid(classificationChooserWizardPage.getClassification().getUuid()); |
56 | 54 |
} |
57 | 55 |
|
58 |
CdmStore.getImportManager().runMoniteredOperation(configurator, new File(source), SOURCE_TYPE.INPUTSTREAM);
|
|
56 |
CdmStore.getImportManager().runMoniteredOperation(configurator, source.toFile(), SOURCE_TYPE.INPUTSTREAM);
|
|
59 | 57 |
|
60 | 58 |
return true; |
61 | 59 |
} |
Also available in: Unified diff
ref #9114 adapt some classes with URI to wrapper in taxeditor (cont.)