org.elasticsearch.util
Class OsUtils

java.lang.Object
  extended by org.elasticsearch.util.OsUtils

public class OsUtils
extends java.lang.Object


Field Summary
static boolean LINUX
          True iff running on Linux.
static java.lang.String OS_NAME
          The value of System.getProperty("os.name").
static boolean SUN_OS
          True iff running on SunOS.
static boolean WINDOWS
          True iff running on Windows.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OS_NAME

public static final java.lang.String OS_NAME
The value of System.getProperty("os.name").


LINUX

public static final boolean LINUX
True iff running on Linux.


WINDOWS

public static final boolean WINDOWS
True iff running on Windows.


SUN_OS

public static final boolean SUN_OS
True iff running on SunOS.