| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| public static final int | JAVA_VERSION
The JAVA and SWT versions |
| pack-priv static int | MAJOR_VERSION
SWT Major version number (must be >= 0) |
| pack-priv static int | MINOR_VERSION
SWT Minor version number (must be in the range 0..999) |
| pack-priv static int | REVISION
SWT revision number (must be >= 0) |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| public static final int | SWT_VERSION
The JAVA and SWT versions |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| pack-priv static void | |
| pack-priv static boolean | Returns: true upon success, failure if something went wrong.full path of where the file is to be extacted to, inc name of file,
e.g /home/USER/.swt/lib/linux/x86_64/libswt-MYLIB-gtk-4826.so extractToFilePath, String file to be searched in jar. mappedName)Extract file with 'mappedName' into path 'extractToFilePath'. |
| private static boolean | |
| public static String | |
| pack-priv static boolean | |
| public static int | Returns: the versionReturns the Java version number as an integer. |
| pack-priv static boolean | |
| public static void | loadLibrary(String
the name of the library to load name)Loads the shared library that matches the version of the Java code which is currently running. |
| public static void | loadLibrary(String
the name of the library to load name, boolean true if the name should be mapped, false otherwise mapName)Loads the shared library that matches the version of the Java code which is currently running. |
| pack-priv static long | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static String | |
| pack-priv static int | |
| public static int |
| DELIMITER | back to summary |
|---|---|
| pack-priv static final String DELIMITER | |
| JAVA_LIB_PATH | back to summary |
|---|---|
| pack-priv static final String JAVA_LIB_PATH | |
| JAVA_VERSION | back to summary |
|---|---|
| public static final int JAVA_VERSION The JAVA and SWT versions | |
| MAJOR_VERSION | back to summary |
|---|---|
| pack-priv static int MAJOR_VERSION SWT Major version number (must be >= 0) | |
| MINOR_VERSION | back to summary |
|---|---|
| pack-priv static int MINOR_VERSION SWT Minor version number (must be in the range 0..999) | |
| REVISION | back to summary |
|---|---|
| pack-priv static int REVISION SWT revision number (must be >= 0) | |
| SEPARATOR | back to summary |
|---|---|
| pack-priv static final String SEPARATOR | |
| SUFFIX_64 | back to summary |
|---|---|
| pack-priv static final String SUFFIX_64 | |
| SWT_LIB_DIR | back to summary |
|---|---|
| pack-priv static final String SWT_LIB_DIR | |
| SWT_LIB_PATH | back to summary |
|---|---|
| pack-priv static final String SWT_LIB_PATH | |
| SWT_VERSION | back to summary |
|---|---|
| public static final int SWT_VERSION The JAVA and SWT versions | |
| USER_HOME | back to summary |
|---|---|
| public static final String USER_HOME | |
| Library | back to summary |
|---|---|
| public Library() | |
| arch | back to summary |
|---|---|
| pack-priv static String arch() | |
| chmod | back to summary |
|---|---|
| pack-priv static void chmod(String permision, String path) | |
| extract | back to summary |
|---|---|
| pack-priv static boolean extract(String extractToFilePath, String mappedName) Extract file with 'mappedName' into path 'extractToFilePath'. Does not overwrite existing file. Does not leave trash on error. | |
| extractResource | back to summary |
|---|---|
| private static boolean extractResource(String resourceName, File outFile) | |
| getVersionString | back to summary |
|---|---|
public static String getVersionString()
| |
| isLoadable | back to summary |
|---|---|
| pack-priv static boolean isLoadable() | |
| JAVA_VERSION | back to summary |
|---|---|
| public static int JAVA_VERSION(int major, int minor, int micro) Returns the Java version number as an integer.
| |
| load | back to summary |
|---|---|
| pack-priv static boolean load(String libName, StringBuilder message) | |
| loadLibrary | back to summary |
|---|---|
| public static void loadLibrary(String name) 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
| |
| loadLibrary | back to summary |
|---|---|
| public static void loadLibrary(String name, boolean mapName) 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
| |
| longConst | back to summary |
|---|---|
| pack-priv static long longConst() | |
| mapLibraryName | back to summary |
|---|---|
| pack-priv static String mapLibraryName(String libName) | |
| mapLibraryName | back to summary |
|---|---|
| pack-priv static String mapLibraryName(String libName, boolean replaceDylib) | |
| os | back to summary |
|---|---|
| pack-priv static String os() | |
| parseVersion | back to summary |
|---|---|
| pack-priv static int parseVersion(String version) | |
| SWT_VERSION | back to summary |
|---|---|
| public static int SWT_VERSION(int major, int minor) Returns the SWT version number as an integer.
| |