public final class UnoLoader extends Object
This class is not yet stable.
public static void execute(URL base, URL jar, String[] arguments) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException
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
.IOException
- if the given base
URL is malformed, or
if there are any problems processing the given JAR jar
.ClassNotFoundException
- if the given JAR jar
does not
specify a Main-Class, or if the specified Main-Class cannot be found.NoSuchMethodException
- if the specified Main-Class of the given
JAR jar
does not have an appropriate main
method.InvocationTargetException
- if an exception occurs while executing
the main
method of the specified Main-Class of the given JAR
jar
.