Package com.io7m.jade.vanilla
Class SystemSelection
java.lang.Object
com.io7m.jade.vanilla.SystemSelection
The system selection function.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SystemSelection
boolean
isUnix()
boolean
setUnix
(boolean unix) Set whether or not the current platform is UNIX-like.setWindows
(boolean windows) Set whether or not the current platform is Windows.
-
Constructor Details
-
SystemSelection
public SystemSelection()The system selection function.
-
-
Method Details
-
fromSystem
- Returns:
- A system selection from the current system
-
isWindows
public boolean isWindows()- Returns:
true
if the system is a Windows platform
-
setWindows
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
Set whether or not the current platform is UNIX-like.- Parameters:
unix
-true
if the current platform is UNIX-like- Returns:
- this
-