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 Platformcurrent()<T extends NativeIntegration>
Tget(Class<T> type, NativeLibraryLoader nativeLibraryLoader)abstract StringgetId()StringgetLibraryName()List<String>getLibraryVariants()booleanisLinux()booleanisMacOs()booleanisWindows()StringtoString()
-
-
-
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()
-
-