Package org.dreambot.api.script.loader
Class LocalLoader
- java.lang.Object
-
- org.dreambot.api.script.loader.LocalLoader
-
public final class LocalLoader extends java.lang.Object
Created by Pandemic
-
-
Constructor Summary
Constructors Constructor Description LocalLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clear()
static java.util.List<org.dreambot.internal.scripts.ScriptWrapper>
getAllLocalScripts()
static java.util.List<ScriptManifest>
getAllScripts()
static java.net.URLClassLoader
getLoader(java.io.File myFile, java.util.List<java.lang.String> libNames)
static java.lang.Class<? extends AbstractScript>
getScriptFromManifest(ScriptManifest manifest)
static java.util.List<java.lang.Class<? extends AbstractScript>>
getScripts()
static void
loadScripts()
Obtains a list of all defined sources and then iterates through all these sources attempting to find and load any scriptable entities.static void
reload()
Clears all lists of entities and then reloadsstatic void
resetLoader()
-
-
-
Method Detail
-
resetLoader
public static void resetLoader()
-
getLoader
public static java.net.URLClassLoader getLoader(java.io.File myFile, java.util.List<java.lang.String> libNames)
-
clear
public static void clear()
-
loadScripts
public static void loadScripts()
Obtains a list of all defined sources and then iterates through all these sources attempting to find and load any scriptable entities.
-
reload
public static void reload()
Clears all lists of entities and then reloads
-
getScripts
public static java.util.List<java.lang.Class<? extends AbstractScript>> getScripts()
-
getAllScripts
public static java.util.List<ScriptManifest> getAllScripts()
-
getAllLocalScripts
public static java.util.List<org.dreambot.internal.scripts.ScriptWrapper> getAllLocalScripts()
-
getScriptFromManifest
public static java.lang.Class<? extends AbstractScript> getScriptFromManifest(ScriptManifest manifest)
-
-