org.processmining.importing.pdm
Class PDMImport

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

public class PDMImport
extends java.lang.Object
implements LogReaderConnectionImportPlugin

Title: PDM import plug-in

Description: Plug-in for PDM files, containing the XML structure of a Product Data Model.

Copyright: Copyright (c) 2006

Company:

Version:
1.0
Author:
Irene Vanderfeesten

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

Constructor Detail

PDMImport

public PDMImport()
Create the import plug-in

Method Detail

getName

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

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

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()
PDM 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 PDM file which is waiting in the 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