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.
  • Field Details

    • VERSION_MAJOR

      public static final int VERSION_MAJOR
    • VERSION_MINOR

      public static final int VERSION_MINOR
    • TMPDIR_WRITE_ERROR

      public static final String TMPDIR_WRITE_ERROR
    • TMPDIR_EXEC_ERROR

      public static final String TMPDIR_EXEC_ERROR
  • Constructor Details

    • StubLoader

      public StubLoader()
  • Method Details

    • 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 this Platform.
      Returns:
      The name of this platform.