public class ParetoFrontImport
extends org.processmining.framework.abstractplugins.AbstractImportPlugin
Constructor and Description |
---|
ParetoFrontImport() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.filechooser.FileFilter |
getFileFilter()
Gets the file filter for this import plug-in.
|
protected java.lang.Object |
importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String filename,
long fileSizeInBytes)
This method is called by all plugin variants to do the actual importing.
|
ParetoFront |
importParetoFront(java.io.InputStream input,
TreeFitnessInfo[] fitnessMetrics)
Imports a pareto front without needing a context, in return, we need a
list of known fitness metrics...
|
protected javax.swing.filechooser.FileFilter getFileFilter()
protected java.lang.Object importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String filename, long fileSizeInBytes) throws java.io.IOException
org.processmining.framework.abstractplugins.AbstractImportPlugin
importFromStream
in class org.processmining.framework.abstractplugins.AbstractImportPlugin
java.io.IOException
public ParetoFront importParetoFront(java.io.InputStream input, TreeFitnessInfo[] fitnessMetrics) throws java.io.IOException
input
- filename
- fitnessMetrics
- java.io.IOException