org.jtheque.utils
Class OSUtils

java.lang.Object
  extended by org.jtheque.utils.OSUtils

public final class OSUtils
extends Object

Some utility methods for OS.

Author:
Baptiste Wicht

Method Summary
static boolean isLinux()
          Test if the running operating system is Linux or not.
static boolean isMac()
          Test if the running operating system is Mac or not.
static boolean isWindows()
          Test if the running operating system is Windows or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isWindows

public static boolean isWindows()
Test if the running operating system is Windows or not.

Returns:
true if the running operating system is Windows else false.

isLinux

public static boolean isLinux()
Test if the running operating system is Linux or not.

Returns:
true if the running operating system is Linux else false.

isMac

public static boolean isMac()
Test if the running operating system is Mac or not.

Returns:
true if the running operating system is Mac else false.


Copyright © 2010 JTheque. All Rights Reserved.