org.argouml.util.osdep
Class OsUtil

java.lang.Object
  |
  +--org.argouml.util.osdep.OsUtil

public class OsUtil
extends java.lang.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 javax.swing.JFileChooser getFileChooser()
          return proper FileChooser
static javax.swing.JFileChooser getFileChooser(java.lang.String directory)
          return proper FileChooser
(package private) static boolean isJdk131()
          check whether we deal with a JDK 1.3.x
static boolean isMac()
          check whether we deal with a Macintosh.
(package private) static boolean isSunJdk()
          check whether we deal with a Sun JDK.
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.


isMac

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


isSunJdk

static boolean isSunJdk()
check whether we deal with a Sun JDK.


isJdk131

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


getFileChooser

public static javax.swing.JFileChooser getFileChooser()
return proper FileChooser


getFileChooser

public static javax.swing.JFileChooser getFileChooser(java.lang.String directory)
return proper FileChooser



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