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

Method Summary
static javax.swing.JFileChooser getFileChooser()
          return proper FileChooser
static javax.swing.JFileChooser getFileChooser(java.lang.String directory)
          return proper FileChooser
static boolean isMac()
          check whether we deal with a Macintosh.
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
 

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.

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 (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook