Package com.kenai.jffi.internal
Class StubLoader
- java.lang.Object
-
- com.kenai.jffi.internal.StubLoader
-
public class StubLoader extends java.lang.ObjectLoads 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 classStubLoader.CPUThe common names of cpu architectures.static classStubLoader.OS
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTMPDIR_EXEC_ERRORstatic java.lang.StringTMPDIR_WRITE_ERRORstatic intVERSION_MAJORstatic intVERSION_MINOR
-
Constructor Summary
Constructors Constructor Description StubLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StubLoader.CPUgetCPU()static java.lang.ThrowablegetFailureCause()static StubLoader.OSgetOS()static java.lang.StringgetPlatformName()Gets the name of thisPlatform.static booleanisLoaded()
-
-
-
Method Detail
-
isLoaded
public static final boolean isLoaded()
-
getFailureCause
public static final java.lang.Throwable getFailureCause()
-
getCPU
public static StubLoader.CPU getCPU()
-
getOS
public static StubLoader.OS getOS()
-
getPlatformName
public static java.lang.String getPlatformName()
Gets the name of thisPlatform.- Returns:
- The name of this platform.
-
-