Class OpenLogFilePlugin

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.io.InputStream getInputStream​(java.io.File file)
      This method returns an inputStream for a file.
      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.
      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)  
      • Methods inherited from class org.processmining.framework.abstractplugins.AbstractImportPlugin

        getFile, importFile, importFile, importFile, importFile
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenLogFilePlugin

        public OpenLogFilePlugin()
    • 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.Exception
        This method returns an inputStream for a file. Note that the default implementation returns "new FileInputStream(file);"
        Overrides:
        getInputStream in class org.processmining.framework.abstractplugins.AbstractImportPlugin
        Parameters:
        file -
        Returns:
        Throws:
        java.io.FileNotFoundException
        FileNotFoundException
        java.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.Exception
        Description copied from class: org.processmining.framework.abstractplugins.AbstractImportPlugin
        This method is called by all plugin variants to do the actual importing.
        Specified by:
        importFromStream in class org.processmining.framework.abstractplugins.AbstractImportPlugin
        Returns:
        Throws:
        java.lang.Exception