public abstract class Provider extends Object
| Modifier and Type | Field and Description |
|---|---|
static Provider |
JAVA_FX |
static List<Provider> |
PROVIDERS |
static Provider |
STANDARD_WIDGET_TOOLKIT |
| Modifier | Constructor and Description |
|---|---|
protected |
Provider(String className) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
augmentProcessParameters(List<String> command,
List<String> classPath) |
abstract List<String> |
checkRequirements() |
String |
getClassName() |
static boolean |
isLinux(String osName)
Compares the specified string against a known value for the GNU/Linux family of operating systems.
|
static boolean |
isMac(String osName)
Compares the specified string against a known value for the Mac OS X operating system.
|
static boolean |
isWindows(String osName)
Compares the specified string against a known value for the Windows family of operating systems.
|
public static final Provider JAVA_FX
public static final Provider STANDARD_WIDGET_TOOLKIT
protected Provider(String className)
public String getClassName()
public static boolean isMac(String osName)
osName - a string representation of the operating system name,
usually obtained from the os.name system property.true if the specified string represents the Mac OS X operating system;
false otherwisepublic static boolean isLinux(String osName)
osName - a string representation of the operating system name,
usually obtained from the os.name system property.true if the specified string represents a GNU/Linux-based operating system;
false otherwisepublic static boolean isWindows(String osName)
osName - a string representation of the operating system name,
usually obtained from the os.name system property.true if the specified string represents a Windows operating system;
false otherwiseCopyright © 2018. All rights reserved.