cz.psika.utils
Class SystemUtils

java.lang.Object
  extended by cz.psika.utils.SystemUtils

public class SystemUtils
extends java.lang.Object

Some system-dependent code.

Author:
Tomas Psika

Constructor Summary
SystemUtils()
           
 
Method Summary
static java.lang.String getOSTypeFlag()
          Return type of OS as flag
static boolean runningOnSupportedUnix()
          Linux/Unix running ?
static boolean runningOnWindows()
          Windows running ?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemUtils

public SystemUtils()
Method Detail

runningOnWindows

public static final boolean runningOnWindows()
Windows running ?

Returns:
true when running on Windows systems

runningOnSupportedUnix

public static final boolean runningOnSupportedUnix()
Linux/Unix running ?

Returns:
true if running on unix-like operating system

getOSTypeFlag

public static final java.lang.String getOSTypeFlag()
Return type of OS as flag

Returns:
string constant, 'U' means supported Unix system, 'W' means Windows, null none of these