org.xnap.commons.util
Class SystemHelper

java.lang.Object
  extended by org.xnap.commons.util.SystemHelper

public class SystemHelper
extends Object

Provides static variables that describe properties of the underlying platform and runtime environment. Sometimes it is necessary to work around certain differences between platforms or bugs of a specific JDK release.

Author:
Steffen Pingel

Field Summary
static boolean IS_JAVA6_OR_HIGHER
          True, if Java version is higher or equal than 1.6.0.
static boolean IS_MACOSX
          True, if is system is Apple Mac OS X; false, otherwise.
static boolean IS_WINDOWS
          True, if system is Microsoft Windows; false, otherwise.
static boolean IS_WINDOWS_XP
          True, if system is Microsoft Windows XP; false, otherwise.
 
Constructor Summary
SystemHelper()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_MACOSX

public static final boolean IS_MACOSX
True, if is system is Apple Mac OS X; false, otherwise.


IS_WINDOWS

public static final boolean IS_WINDOWS
True, if system is Microsoft Windows; false, otherwise.


IS_WINDOWS_XP

public static final boolean IS_WINDOWS_XP
True, if system is Microsoft Windows XP; false, otherwise.


IS_JAVA6_OR_HIGHER

public static final boolean IS_JAVA6_OR_HIGHER
True, if Java version is higher or equal than 1.6.0.

Constructor Detail

SystemHelper

public SystemHelper()


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.