Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.util
Class OSUtils

java.lang.Object
  extended by net.java.sip.communicator.util.OSUtils

public class OSUtils
extends Object

Utility fields for OS detection.

Author:
Sebastien Vincent, Lubomir Marinov

Field Summary
static boolean IS_32_BIT
          true if architecture is 32 bit.
static boolean IS_64_BIT
          true if architecture is 64 bit.
static boolean IS_ANDROID
          true if OS is Android
static boolean IS_FREEBSD
          true if OS is FreeBSD.
static boolean IS_LINUX
          true if OS is Linux.
static boolean IS_LINUX32
          true if OS is Linux 32-bit.
static boolean IS_LINUX64
          true if OS is Linux 64-bit.
static boolean IS_MAC
          true if OS is MacOSX.
static boolean IS_MAC32
          true if OS is MacOSX 32-bit.
static boolean IS_MAC64
          true if OS is MacOSX 64-bit.
static boolean IS_WINDOWS
          true if OS is Windows.
static boolean IS_WINDOWS_7
          true if OS is Windows 7.
static boolean IS_WINDOWS_VISTA
          true if OS is Windows Vista.
static boolean IS_WINDOWS32
          true if OS is Windows 32-bit.
static boolean IS_WINDOWS64
          true if OS is Windows 64-bit.
 
Constructor Summary
OSUtils()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_32_BIT

public static final boolean IS_32_BIT
true if architecture is 32 bit.


IS_64_BIT

public static final boolean IS_64_BIT
true if architecture is 64 bit.


IS_ANDROID

public static final boolean IS_ANDROID
true if OS is Android


IS_LINUX

public static final boolean IS_LINUX
true if OS is Linux.


IS_LINUX32

public static final boolean IS_LINUX32
true if OS is Linux 32-bit.


IS_LINUX64

public static final boolean IS_LINUX64
true if OS is Linux 64-bit.


IS_MAC

public static final boolean IS_MAC
true if OS is MacOSX.


IS_MAC32

public static final boolean IS_MAC32
true if OS is MacOSX 32-bit.


IS_MAC64

public static final boolean IS_MAC64
true if OS is MacOSX 64-bit.


IS_WINDOWS

public static final boolean IS_WINDOWS
true if OS is Windows.


IS_WINDOWS32

public static final boolean IS_WINDOWS32
true if OS is Windows 32-bit.


IS_WINDOWS64

public static final boolean IS_WINDOWS64
true if OS is Windows 64-bit.


IS_WINDOWS_VISTA

public static final boolean IS_WINDOWS_VISTA
true if OS is Windows Vista.


IS_WINDOWS_7

public static final boolean IS_WINDOWS_7
true if OS is Windows 7.


IS_FREEBSD

public static final boolean IS_FREEBSD
true if OS is FreeBSD.

Constructor Detail

OSUtils

public OSUtils()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.