Class IsWindows

java.lang.Object
org.ek9lang.core.IsWindows
All Implemented Interfaces:
BooleanSupplier

public final class IsWindows extends Object implements 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 Details

    • IsWindows

      public IsWindows()
  • Method Details