Class AddonLoader

java.lang.Object
de.presti.ree6.addons.AddonLoader

public class AddonLoader extends Object
The actual Addon-Loader which Loads every single Addon from the Addon Folder.
  • Method Details

    • loadAllAddons

      public static void loadAllAddons()
      Load every Addon.
    • loadAddon

      public static Addon loadAddon(String fileName) throws IOException
      Actually load a Addon.
      Parameters:
      fileName - Name of the File.
      Returns:
      a Local-Addon.
      Throws:
      IOException - If it is an invalid Addon.