]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/ContentTypeAction.java
ImportPdfReader now implements Closeable
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / ContentTypeAction.java
1 package org.simantics.export.core.intf;
2
3 import java.util.Collection;
4 import java.util.Map;
5
6 import org.simantics.export.core.ExportContext;
7 import org.simantics.export.core.error.ExportException;
8
9 public interface ContentTypeAction {
10
11         /**
12          * Read labels for a collection of contents
13          * 
14          * @param ctx 
15          * @param contents
16          * @return labels
17          * @throws ExportException if failed to get a label
18          */
19         Map<String, String> getLabels( ExportContext ctx, Collection<String> contents ) throws ExportException;
20         
21 }