iaik.tc.utils.misc
Class OsDetection

java.lang.Object
  extended by iaik.tc.utils.misc.OsDetection

public class OsDetection
extends java.lang.Object


Field Summary
static java.lang.String OS_LINUX
          OS id string for LINUX.
static java.lang.String OS_WINDOWS_VISTA
          OS id string for Windows Vista.
 
Constructor Summary
OsDetection()
           
 
Method Summary
static boolean operatingSystemIs(java.lang.String osId)
          This method returns true if the id string of the current operating system matches the given one.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OS_LINUX

public static final java.lang.String OS_LINUX
OS id string for LINUX.

See Also:
Constant Field Values

OS_WINDOWS_VISTA

public static final java.lang.String OS_WINDOWS_VISTA
OS id string for Windows Vista.

See Also:
Constant Field Values
Constructor Detail

OsDetection

public OsDetection()
Method Detail

operatingSystemIs

public static boolean operatingSystemIs(java.lang.String osId)
This method returns true if the id string of the current operating system matches the given one.