public abstract class Platform extends Object
Constructor | Description |
---|---|
Platform() |
Modifier and Type | Method | Description |
---|---|---|
<T extends NativeIntegration> |
canonicalise(Class<T> type) |
|
static Platform |
current() |
|
<T extends NativeIntegration> |
get(Class<T> type,
NativeLibraryLoader nativeLibraryLoader) |
|
abstract String |
getId() |
|
String |
getLibraryName() |
|
List<String> |
getLibraryVariants() |
|
boolean |
isLinux() |
|
boolean |
isMacOs() |
|
boolean |
isWindows() |
|
String |
toString() |
public static Platform current()
public boolean isLinux()
public boolean isMacOs()
public boolean isWindows()
public <T extends NativeIntegration> Class<? extends T> canonicalise(Class<T> type)
public <T extends NativeIntegration> T get(Class<T> type, NativeLibraryLoader nativeLibraryLoader)
public String getLibraryName()
public abstract String getId()