com.sun.star.lib.unoloader
|
||||||||||||||||||||||||||||||||||||||||
| Method Summary | |
static void |
execute(URL base,
URL jar,
String[] arguments)
Executes a UNO JAR. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
execute
public static void execute(URL base, URL jar, String[] arguments) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException
- Executes a UNO JAR.
- Parameters:
base- a base URL relative to which the URE JARs (jurt.jar,ridl.jar, etc.) can be found; must not benull.jar- the URL of a UNO JAR that specifies a Main-Class; must not benull.arguments- any arguments passed to themainmethod of the specified Main-Class of the given JARjar; must not benull.- Throws:
IOException- if the givenbaseURL is malformed, or if there are any problems processing the given JARjar.ClassNotFoundException- if the given JARjardoes not specify a Main-Class, or if the specified Main-Class cannot be found.NoSuchMethodException- if the specified Main-Class of the given JARjardoes not have an appropriatemainmethod.InvocationTargetException- if an exception occurs while executing themainmethod of the specified Main-Class of the given JARjar.
|
UDK 3.2.0 Java API Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||


