org.processmining.importing.protos
Class ProtosImport

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

public class ProtosImport
extends java.lang.Object
implements LogReaderConnectionImportPlugin

Title: Protos XML Export Import

Description: Import plug-in for Protos XML Export files

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Constructor Summary
ProtosImport()
           
 
Method Summary
 javax.swing.filechooser.FileFilter getFileFilter()
          Protos XML Export 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 Protos XML Export 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

ProtosImport

public ProtosImport()
Method Detail

getName

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

Specified by:
getName in interface Plugin
Returns:
"Protos XML Export file"

getFileFilter

public javax.swing.filechooser.FileFilter getFileFilter()
Protos XML Export 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 Protos XML Export 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 Protos 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