Class SystemSelection

java.lang.Object
com.io7m.jade.vanilla.SystemSelection

public final class SystemSelection extends Object
The system selection function.
  • Constructor Details

    • SystemSelection

      public SystemSelection()
      The system selection function.
  • Method Details

    • fromSystem

      public static SystemSelection fromSystem()
      Returns:
      A system selection from the current system
    • isWindows

      public boolean isWindows()
      Returns:
      true if the system is a Windows platform
    • setWindows

      public SystemSelection setWindows(boolean windows)
      Set whether or not the current platform is Windows.
      Parameters:
      windows - true if the current platform is Windows
      Returns:
      this
    • isUnix

      public boolean isUnix()
      Returns:
      true if the system is a UNIX-like platform
    • setUnix

      public SystemSelection setUnix(boolean unix)
      Set whether or not the current platform is UNIX-like.
      Parameters:
      unix - true if the current platform is UNIX-like
      Returns:
      this