Class StochasticLabelledPetriNetImportPlugin

  • All Implemented Interfaces:
    org.processmining.framework.abstractplugins.ImportPlugin

    public class StochasticLabelledPetriNetImportPlugin
    extends org.processmining.framework.abstractplugins.AbstractImportPlugin
    • Constructor Detail

      • StochasticLabelledPetriNetImportPlugin

        public StochasticLabelledPetriNetImportPlugin()
    • Method Detail

      • importFromStream

        public StochasticLabelledPetriNetSimpleWeights 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
      • read

        public static StochasticLabelledPetriNetSimpleWeightsImpl read​(java.io.InputStream input)
                                                                throws java.lang.NumberFormatException,
                                                                       java.io.IOException
        Throws:
        java.lang.NumberFormatException
        java.io.IOException
      • parseNumber

        public static java.lang.Double parseNumber​(java.lang.String string)
      • getNextLine

        public static java.lang.String getNextLine​(java.io.BufferedReader r)
                                            throws java.io.IOException
        Throws:
        java.io.IOException