Package com.kenai.jffi.internal
Class StubLoader
java.lang.Object
com.kenai.jffi.internal.StubLoader
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 ClassesModifier and TypeClassDescriptionstatic enumThe common names of cpu architectures.static enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StubLoader.CPUgetCPU()static final Throwablestatic StubLoader.OSgetOS()static StringGets the name of thisPlatform.static final booleanisLoaded()
-
Field Details
-
VERSION_MAJOR
public static final int VERSION_MAJOR -
VERSION_MINOR
public static final int VERSION_MINOR -
TMPDIR_WRITE_ERROR
-
TMPDIR_EXEC_ERROR
-
-
Constructor Details
-
StubLoader
public StubLoader()
-
-
Method Details
-
isLoaded
public static final boolean isLoaded() -
getFailureCause
-
getCPU
-
getOS
-
getPlatformName
Gets the name of thisPlatform.- Returns:
- The name of this platform.
-