Package com.kenai.jffi.internal
Class StubLoader
- java.lang.Object
-
- com.kenai.jffi.internal.StubLoader
-
public class StubLoader extends Object
Loads the native stub library. This is intended to only ever be called reflectively, so it cannot access other jffi classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StubLoader.CPU
The common names of cpu architectures.static class
StubLoader.OS
-
Field Summary
Fields Modifier and Type Field Description static String
TMPDIR_EXEC_ERROR
static String
TMPDIR_WRITE_ERROR
static int
VERSION_MAJOR
static int
VERSION_MINOR
-
Constructor Summary
Constructors Constructor Description StubLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StubLoader.CPU
getCPU()
static Throwable
getFailureCause()
static StubLoader.OS
getOS()
static String
getPlatformName()
Gets the name of thisPlatform
.static boolean
isLoaded()
-
-
-
Method Detail
-
isLoaded
public static final boolean isLoaded()
-
getFailureCause
public static final Throwable getFailureCause()
-
getCPU
public static StubLoader.CPU getCPU()
-
getOS
public static StubLoader.OS getOS()
-
getPlatformName
public static String getPlatformName()
Gets the name of thisPlatform
.- Returns:
- The name of this platform.
-
-