Class IsWindows
java.lang.Object
org.ek9lang.core.IsWindows
- All Implemented Interfaces:
BooleanSupplier
THE "is this Windows" test - use this, never a private
os.name check (there were four, two of them
contains("win")). Read once per process. Hold one as a private final field; a
static final constant may be made from one.
Beside it, ExecutableName: the file name a program has on this platform.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IsWindows
public IsWindows()
-
-
Method Details
-
getAsBoolean
public boolean getAsBoolean()- Specified by:
getAsBooleanin interfaceBooleanSupplier
-