|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.jdic.init.JdicManager
public class JdicManager
Initialization manager for JDIC to set the environment variables or initialize the set up for native libraries and executable files.
There are 3 modes of operation: WebStart, file system, and .jar file.
When using WebStart, please specify a .jar file(jdic-native.jar) with the native libraries for your platform to be loaded by WebStart in your JNPL. This class will find the unjared native libraries and executables, and use them directly.
If not in WebStart, the system will expect the native libraries to be located in directory at the root of the classpath or .jar containing this class.
Method Summary | |
---|---|
java.lang.String |
getBinaryPath()
|
static JdicManager |
getManager()
Returns a singleton instance of JdicManager . |
void |
initBrowserNative()
Initializes the native file settings for the JDIC Browser component (package org.jdecktop.jdic.browser ). |
void |
initShareNative()
Initializes the shared native file settings for all the JDIC components/ packages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JdicManager getManager()
JdicManager
.
public void initShareNative() throws JdicInitException
JdicInitException
- Generic initialization exceptionpublic void initBrowserNative() throws JdicInitException
org.jdecktop.jdic.browser
). Set necessary
environment variables for the Browser specific native library and
executable files, including *.exe files on Windows, and mozembed-
JdicInitException
- Generic initialization exceptionpublic java.lang.String getBinaryPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |