public class ActionPackageFromJarLoader
extends java.lang.Object
Note: This works only on systems which support direct class loading. For example Android (which uses the ART/Dalvik runtime) needs an additional classes.dex file in the package. You can create such a classes.dex file using dx from the Android build-tools: dx --dex <INPUT_JAR> --output <OUTPUT_CLASSES.DEX>
Constructor and Description |
---|
ActionPackageFromJarLoader() |
Modifier and Type | Method and Description |
---|---|
static void |
loadFromJar(java.lang.String path,
ACIS system)
Loads Actions defined in a jar-package into the ACIS system.
|
public static void loadFromJar(java.lang.String path, ACIS system) throws java.lang.Exception
path
- The filepath to the package (extension '.jar' not mandatory).system
- The system to load the Actions in.java.lang.Exception
- When there is an error with the file.