org.processmining.importing.yawl
Class YAWLImport

java.lang.Object
  extended by org.processmining.importing.yawl.YAWLImport
All Implemented Interfaces:
Plugin, ImportPlugin, LogReaderConnectionImportPlugin

public class YAWLImport
extends java.lang.Object
implements LogReaderConnectionImportPlugin

Title: YAWL import plug-in

Description: Plug-in for YAWL engine files.

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Constructor Summary
YAWLImport()
          Create the import plug-in
 
Method Summary
 javax.swing.filechooser.FileFilter getFileFilter()
          YAWL engine files have xml extensions
 java.lang.String getHtmlDescription()
          Provide help
 java.lang.String getName()
          Ge tthe name of the plug-in
 MiningResult importFile(java.io.InputStream input)
          Import the YAWL file which is waiting in hte given stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YAWLImport

public YAWLImport()
Create the import plug-in

Method Detail

getName

public java.lang.String getName()
Ge tthe name of the plug-in

Specified by:
getName in interface Plugin
Returns:
"YAWL file"

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()
YAWL engine files have xml extensions

Specified by:
getFileFilter in interface ImportPlugin
Returns:
File filter for xml files

importFile

public MiningResult importFile(java.io.InputStream input)
                        throws java.io.IOException
Import the YAWL file which is waiting in hte given stream

Specified by:
importFile in interface ImportPlugin
Specified by:
importFile in interface LogReaderConnectionImportPlugin
Parameters:
input - The given stream
Returns:
The YAWL model as a MiningResult
Throws:
java.io.IOException - If reading fails

getHtmlDescription

public java.lang.String getHtmlDescription()
Provide help

Specified by:
getHtmlDescription in interface Plugin
Returns:
Help text