com.stata.sfi.util
Class Platform

java.lang.Object
  extended by com.stata.sfi.util.Platform

public class Platform
extends Object

A set of utilities for getting platform information.


Method Summary
static boolean isMac()
          Determine if the platform is MacOS.
static boolean isSolaris()
          Determine if the platform is Solaris.
static boolean isUnix()
          Determine if the platform is Unix or Linux.
static boolean isWindows()
          Determine if the platform is Windows.
 
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()
Determine if the platform is Windows.

Returns:
Returns true if the platform is Windows.

isMac

public static boolean isMac()
Determine if the platform is MacOS.

Returns:
Returns true if the platform is MacOS.

isUnix

public static boolean isUnix()
Determine if the platform is Unix or Linux.

Returns:
Returns true if the platform is Unix or Linux.

isSolaris

public static boolean isSolaris()
Determine if the platform is Solaris.

Returns:
Returns true if the platform is Solaris.