]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Importer.java
ImportPdfReader now implements Closeable
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / Importer.java
1 package org.simantics.export.core.intf;
2
3 import org.simantics.export.core.error.ExportException;
4
5 /**
6  * Importer Extension 
7  *
8  * @author toni.kalajainen@semantum.fi
9  */
10 public interface Importer {
11         
12         String formatId();
13         
14         String contentTypeId();
15
16         /**
17          * Code that imports the content using format_type specific reader.
18          * @return
19          * @throws ExportException 
20          */
21         ImportAction importAction() throws ExportException;
22         
23 }