Package org.processmining.plugins.log
Class OpenLogFilePlugin
- java.lang.Object
-
- org.processmining.framework.abstractplugins.AbstractImportPlugin
-
- org.processmining.plugins.log.OpenLogFilePlugin
-
- All Implemented Interfaces:
org.processmining.framework.abstractplugins.ImportPlugin
- Direct Known Subclasses:
ImportXEventClassifierListPlugin,OpenBufferedLogFilePlugin,OpenNaiveLogFilePlugin
public class OpenLogFilePlugin extends org.processmining.framework.abstractplugins.AbstractImportPlugin
-
-
Constructor Summary
Constructors Constructor Description OpenLogFilePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.InputStreamgetInputStream(java.io.File file)This method returns an inputStream for a file.protected java.lang.ObjectimportFromStream(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.protected java.lang.ObjectimportFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String filename, long fileSizeInBytes, org.deckfour.xes.factory.XFactory factory)
-
-
-
Method Detail
-
importFromStream
protected java.lang.Object importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String filename, long fileSizeInBytes, org.deckfour.xes.factory.XFactory factory) throws java.lang.Exception- Throws:
java.lang.Exception
-
getInputStream
protected java.io.InputStream getInputStream(java.io.File file) throws java.lang.ExceptionThis method returns an inputStream for a file. Note that the default implementation returns "new FileInputStream(file);"- Overrides:
getInputStreamin classorg.processmining.framework.abstractplugins.AbstractImportPlugin- Parameters:
file-- Returns:
- Throws:
java.io.FileNotFoundExceptionFileNotFoundExceptionjava.lang.Exception
-
importFromStream
protected java.lang.Object importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String filename, long fileSizeInBytes) throws java.lang.ExceptionDescription copied from class:org.processmining.framework.abstractplugins.AbstractImportPluginThis method is called by all plugin variants to do the actual importing.- Specified by:
importFromStreamin classorg.processmining.framework.abstractplugins.AbstractImportPlugin- Returns:
- Throws:
java.lang.Exception
-
-