com.sun.star.lib.unoloader
Class UnoLoader
public final class UnoLoader
A helper class for executing UNO JARs.
This class is not yet stable.
static void | execute(URL base, URL jar, String[] arguments) - Executes a UNO JAR.
|
execute
public static void execute(URL base,
URL jar,
String[] arguments)
throws IOException,
ClassNotFoundException,
NoSuchMethodException,
InvocationTargetException
Executes a UNO JAR.
base
- a base URL relative to which the URE JARs
(jurt.jar
, ridl.jar
, etc.) can be found; must
not be null
.jar
- the URL of a UNO JAR that specifies a Main-Class; must not be
null
.arguments
- any arguments passed to the main
method of
the specified Main-Class of the given JAR jar
; must not be
null
.