LibreOffice Module ridljar (master) 1
|
A helper class for executing UNO JARs. More...
Static Public Member Functions | |
static void | execute (final URL base, URL jar, String[] arguments) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException |
Executes a UNO JAR. More... | |
Private Member Functions | |
UnoLoader () | |
A helper class for executing UNO JARs.
This class is not yet stable.
Definition at line 36 of file UnoLoader.java.
|
inlineprivate |
Definition at line 84 of file UnoLoader.java.
|
inlinestatic |
Executes a UNO JAR.
base | a base URL relative to which the URE JARs (libreoffice.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 . |
Definition at line 65 of file UnoLoader.java.
References base, com.sun.star.lib.unoloader.UnoClassLoader.execute(), Object, and run().