LibreOffice Module odk (master) 1
|
This class can be used as a loader for application classes which use UNO. More...
Classes | |
class | CustomURLClassLoader |
A customized class loader which is used to load classes and resources from a search path of user-defined URLs. More... | |
class | Drain |
Static Public Member Functions | |
static void | main (String[] arguments) throws Exception |
The main method instantiates a customized class loader with the UNO jar files added to the search path and loads the application class, which is specified in the Main-Class attribute of the com/sun/star/lib/Loader.class entry of the manifest file or as first parameter in the argument list. More... | |
static synchronized ClassLoader | getCustomLoader () |
Gets the customized class loader with the UNO jar files added to the search path. More... | |
Private Member Functions | |
Loader () | |
do not instantiate More... | |
Static Private Member Functions | |
static void | addUrls (ArrayList< URL > urls, String data, String delimiter) |
static void | close (InputStream c) |
static void | callUnoinfo (String path, ArrayList< URL > urls) |
Static Private Attributes | |
static ClassLoader | m_Loader = null |
This class can be used as a loader for application classes which use UNO.
The Loader class detects a UNO installation on the system and adds the UNO jar files to the search path of a customized class loader, which is used for loading the application classes.
Definition at line 46 of file Loader.java.
|
inlineprivate |
do not instantiate
Definition at line 53 of file Loader.java.
|
inlinestaticprivate |
Definition at line 188 of file Loader.java.
References File, System, and tokens.
Referenced by com.sun.star.lib.loader.Loader.callUnoinfo(), and com.sun.star.lib.loader.Loader.getCustomLoader().
|
inlinestaticprivate |
Definition at line 211 of file Loader.java.
References com.sun.star.lib.loader.Loader.addUrls(), com.sun.star.lib.loader.Loader.close(), code, File, Integer, n, p, Runtime, String, and System.
Referenced by com.sun.star.lib.loader.Loader.getCustomLoader().
|
inlinestaticprivate |
Definition at line 202 of file Loader.java.
References Exception.
Referenced by com.sun.star.lib.loader.Loader.callUnoinfo().
|
inlinestatic |
Gets the customized class loader with the UNO jar files added to the search path.
Definition at line 142 of file Loader.java.
References com.sun.star.lib.loader.Loader.addUrls(), com.sun.star.lib.loader.Loader.callUnoinfo(), File, com.sun.star.lib.loader.Loader.m_Loader, run(), String, System, and URL.
Referenced by com.sun.star.lib.loader.Loader.main().
|
inlinestatic |
The main method instantiates a customized class loader with the UNO jar files added to the search path and loads the application class, which is specified in the Main-Class attribute of the com/sun/star/lib/Loader.class entry of the manifest file or as first parameter in the argument list.
Definition at line 62 of file Loader.java.
References args, Class, Exception, com.sun.star.lib.loader.Loader.getCustomLoader(), i, loader, m, Method, Object, String, System, and URL.
|
staticprivate |
Definition at line 48 of file Loader.java.
Referenced by com.sun.star.lib.loader.Loader.getCustomLoader().