public class Platforms
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLATFORM_NAME |
Modifier and Type | Method and Description |
---|---|
static java.nio.file.Path |
nativeControllerPath(java.nio.file.Path plugin)
The path to the native controller for a plugin with native components.
|
static java.lang.String |
platformName(java.lang.String osName,
java.lang.String osArch)
Return the platform name based on the OS name and
- darwin-x86_64
- linux-x86-64
- windows-x86_64
For *nix platforms this is more-or-less `uname -s`-`uname -m` converted to lower case.
|
public static java.nio.file.Path nativeControllerPath(java.nio.file.Path plugin)
public static java.lang.String platformName(java.lang.String osName, java.lang.String osArch)