iaik.tc.utils.misc
Class OsDetection

Object
  extended by OsDetection

public class OsDetection
extends Object


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

Field Detail

OS_LINUX

public static final String OS_LINUX
OS id string for LINUX.

See Also:
Constant Field Values

OS_WINDOWS_VISTA

public static final 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(String osId)
This method returns true if the id string of the current operating system matches the given one.