]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java
ImportPdfReader now implements Closeable
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / Publisher.java
1 package org.simantics.export.core.intf;
2
3 import org.simantics.export.core.error.ExportException;
4
5 /**
6  * Publisher
7  *
8  * @author toni.kalajainen@semantum.fi
9  */
10 public interface Publisher {
11
12         /**
13          * Identifier of the publiser extension.
14          * 
15          * @return id
16          */
17         String id();
18         
19         /**
20          * Label of the publisher
21          * @return the label
22          */
23         String label();
24         
25         /**
26          * Create class for publishing data.
27          * 
28          * @return
29          * @throws ExportException
30          */
31         PublisherClass publisherClass() throws ExportException;
32         
33 }