| java.lang.Object org.eclipse.swt.internal.Library
Library | public class Library (Code) | | |
Method Summary | |
public static int | JAVA_VERSION(int major, int minor, int micro) Returns the Java version number as an integer. | public static int | SWT_VERSION(int major, int minor) Returns the SWT version number as an integer. | public static void | loadLibrary(String name) Loads the shared library that matches the version of the
Java code which is currently running. | static int | parseVersion(String version) |
JAVA_VERSIONSWT_VERSION | final public static int JAVA_VERSIONSWT_VERSION(Code) | | The JAVA and SWT versions
|
MAJOR_VERSION | static int MAJOR_VERSION(Code) | | SWT Major version number (must be >= 0)
|
MINOR_VERSION | static int MINOR_VERSION(Code) | | SWT Minor version number (must be in the range 0..999)
|
REVISION | static int REVISION(Code) | | SWT revision number (must be >= 0)
|
JAVA_VERSION | public static int JAVA_VERSION(int major, int minor, int micro)(Code) | | Returns the Java version number as an integer.
Parameters: major - Parameters: minor - Parameters: micro - the version |
SWT_VERSION | public static int SWT_VERSION(int major, int minor)(Code) | | Returns the SWT version number as an integer.
Parameters: major - Parameters: minor - the version |
loadLibrary | public static void loadLibrary(String name)(Code) | | Loads the shared library that matches the version of the
Java code which is currently running. SWT shared libraries
follow an encoding scheme where the major, minor and revision
numbers are embedded in the library name and this along with
name is used to load the library. If this fails,
name is used in another attempt to load the library,
this time ignoring the SWT version encoding scheme.
Parameters: name - the name of the library to load |
|
|