public class Restarter
extends java.lang.Object
Constructor and Description |
---|
Restarter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isLinux()
Return if we are running on Linux.
|
static boolean |
isMac()
Return if we are running on a mac.
|
static boolean |
isVista()
Returns true if Spark is running on vista.
|
static boolean |
isWindows()
Return if we are running on windows.
|
static void |
main(java.lang.String[] args)
Is called on a restart of Spark.
|
public static void main(java.lang.String[] args)
args
- the array of arguments.public static boolean isWindows()
public static boolean isVista()
public static boolean isMac()
public static boolean isLinux()