Interface ImportPlugin
-
- All Known Implementing Classes:
AbstractImportPlugin
public interface ImportPlugin
This interface should be implemented by plugins that serve as input plugins. Such a plugin should have the @Plugin annotation on the class level and does not have to define any variants, as these are defined in the interface.- Author:
- bfvdonge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getFile()
Returns the File object this plugin was instantiated with.java.lang.Object
importFile(PluginContext context, java.io.File f)
java.lang.Object
importFile(PluginContext context, java.lang.String filename)
java.lang.Object
importFile(PluginContext context, java.net.URI uri)
java.lang.Object
importFile(PluginContext context, java.net.URL url)
-
-
-
Method Detail
-
getFile
java.io.File getFile()
Returns the File object this plugin was instantiated with.- Returns:
-
importFile
java.lang.Object importFile(PluginContext context, java.lang.String filename) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importFile
java.lang.Object importFile(PluginContext context, java.net.URI uri) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importFile
java.lang.Object importFile(PluginContext context, java.net.URL url) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importFile
java.lang.Object importFile(PluginContext context, java.io.File f) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-