Class Platform
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.Platform
-
public abstract class Platform extends Object
-
-
Constructor Summary
Constructors Constructor Description Platform()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <T extends NativeIntegration>
Class<? extends T>canonicalise(Class<T> type)
static Platform
current()
<T extends NativeIntegration>
Tget(Class<T> type, NativeLibraryLoader nativeLibraryLoader)
abstract String
getId()
String
getLibraryName()
List<String>
getLibraryVariants()
boolean
isLinux()
boolean
isMacOs()
boolean
isWindows()
String
toString()
-
-
-
Method Detail
-
current
public static Platform current()
-
isLinux
public boolean isLinux()
-
isMacOs
public boolean isMacOs()
-
isWindows
public boolean isWindows()
-
canonicalise
public <T extends NativeIntegration> Class<? extends T> canonicalise(Class<T> type)
-
get
public <T extends NativeIntegration> T get(Class<T> type, NativeLibraryLoader nativeLibraryLoader)
-
getLibraryName
public String getLibraryName()
-
getId
public abstract String getId()
-
-