org.argouml.util.osdep
Class OsUtil

java.lang.Object
  extended byorg.argouml.util.osdep.OsUtil

public class OsUtil
extends Object

Utility class providing hooks to operating-system-specific functionality.

Since:
ARGO0.9.8

Constructor Summary
private OsUtil()
          Do not allow this class to be instantiated.
 
Method Summary
static boolean isJdk131()
          Check whether we deal with a JDK 1.3.x.
static boolean isMac()
          Check whether we deal with a Macintosh.
static boolean isSunJdk()
          Check whether we deal with a Sun Java.
static boolean isWin32()
          Check whether we deal with a Windows Operating System.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsUtil

private OsUtil()
Do not allow this class to be instantiated.

Method Detail

isWin32

public static boolean isWin32()
Check whether we deal with a Windows Operating System.

Returns:
true if this is Windows

isMac

public static boolean isMac()
Check whether we deal with a Macintosh.

Returns:
true if this is a Mac

isSunJdk

public static boolean isSunJdk()
Check whether we deal with a Sun Java.

Returns:
true if this is a Sun Java

isJdk131

public static boolean isJdk131()
Check whether we deal with a JDK 1.3.x.

Returns:
true if we deal with Java 1.3.x.


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook