com.kenai.jffi.internal
Class StubLoader

java.lang.Object
  extended by com.kenai.jffi.internal.StubLoader

public class StubLoader
extends java.lang.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
static class StubLoader.CPU
          The common names of cpu architectures.
static class StubLoader.OS
           
 
Field Summary
static int VERSION_MAJOR
           
static int VERSION_MINOR
           
 
Constructor Summary
StubLoader()
           
 
Method Summary
static StubLoader.CPU getCPU()
           
static java.lang.Throwable getFailureCause()
           
static StubLoader.OS getOS()
           
static java.lang.String getPlatformName()
          Gets the name of this Platform.
static boolean isLoaded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_MAJOR

public static final int VERSION_MAJOR

VERSION_MINOR

public static final int VERSION_MINOR
Constructor Detail

StubLoader

public StubLoader()
Method Detail

isLoaded

public static final boolean isLoaded()

getFailureCause

public static final java.lang.Throwable getFailureCause()

getCPU

public static final StubLoader.CPU getCPU()

getOS

public static StubLoader.OS getOS()

getPlatformName

public static java.lang.String getPlatformName()
Gets the name of this Platform.

Returns:
The name of this platform.