Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Static Public Member Functions | List of all members
CASUAL.OSTools Class Reference

Static Public Member Functions

static boolean isMac ()
 
static boolean is64bitSystem ()
 
static String checkLinuxArch ()
 
static boolean isWindows64Arch ()
 
static String OSName ()
 
static boolean isLinux ()
 
static boolean isWindows ()
 
static boolean isMacLinux64Arch ()
 

Detailed Description

Provides a set of tools designed to identify the operating system and archetecture.

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om

Member Function Documentation

static String CASUAL.OSTools.checkLinuxArch ( )
static

Returns the arch from Linux

Returns
arch command results or "Linux" on an unsupported machine. Currently Debian based are supported.
static boolean CASUAL.OSTools.is64bitSystem ( )
static

Operating System is 64 bit as reported by operating system.

Returns
true if 64 bit.
static boolean CASUAL.OSTools.isLinux ( )
static

Checks if system is Linux.

Returns
true if Linux
static boolean CASUAL.OSTools.isMac ( )
static

Operating System is Mac.

Returns
true if mac
static boolean CASUAL.OSTools.isMacLinux64Arch ( )
static

Checks if Mac/Linux 64 bit

Returns
true if 64 bit mac/linux.
static boolean CASUAL.OSTools.isWindows ( )
static

Checks if system is Windows.

Returns
True if Windows
static boolean CASUAL.OSTools.isWindows64Arch ( )
static

Checks if this is Windows64

Returns
true if Windows 64.
static String CASUAL.OSTools.OSName ( )
static

gets OS name

Returns
string representing OSName

The documentation for this class was generated from the following file: