org.processmining.importing
Interface ImportPlugin

All Superinterfaces:
Plugin
All Known Subinterfaces:
LogReaderConnectionImportPlugin
All Known Implementing Classes:
amlImport, BPELImport, epmlImport, FSMImport, HnImport, LogFilterImportPlugin, OrgModelImport, oWFNImport, PDMImport, Petrify2PetriNet, PnmlImport, PPMGraphFormatImport, ProtosImport, TpnImport, vdxImport, YAWLImport

public interface ImportPlugin
extends Plugin

Version:
1.0
Author:
Peter van den Brand

Method Summary
 javax.swing.filechooser.FileFilter getFileFilter()
           
 MiningResult importFile(java.io.InputStream input)
          Interface for plugins that import from file.
 
Methods inherited from interface org.processmining.framework.plugin.Plugin
getHtmlDescription, getName
 

Method Detail

getFileFilter

javax.swing.filechooser.FileFilter getFileFilter()

importFile

MiningResult importFile(java.io.InputStream input)
                        throws java.io.IOException
Interface for plugins that import from file.

Parameters:
input - The framework will always provide a ProMInputStream as the input parameter. To retrieve the filename use: ((ProMInputStream) input).getFilename();
Returns:
MiningResult A JComponent that is visualized in a frame. If null is returned then the framework thinks the call to this method was aborted.
Throws:
java.io.IOException - If an IO exception occurs.