jmarkov.gui

## Class MarkovClassLoader

- java.lang.Object
- - java.lang.ClassLoader
  - - jmarkov.gui.MarkovClassLoader

-     public class MarkovClassLoader
      extends java.lang.ClassLoader

  This class helps to load a SimpleMarkovProcess, State or Event class. This is used by the GUI when the class has been recompiled.
  Author:
    Germán Riaño. Universidad de los Andes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MarkovClassLoader()` Default constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `loadFromFile(java.io.File file, boolean instantiate)` Loads a Class Markov Process/State/Event from a file.

    - ### Methods inherited from class java.lang.ClassLoader

      `clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MarkovClassLoader

          public MarkovClassLoader()

      Default constructor

  - ### Method Detail

    - #### loadFromFile

          public java.lang.Object loadFromFile(java.io.File file,
                                      boolean instantiate)
                                        throws java.lang.Exception

      Loads a Class Markov Process/State/Event from a file.
      Parameters:
        `file` -
        `instantiate` -
      Returns:
        The Class loaded
      Throws:
        `java.lang.Exception`