com.partnersoft.system
Class AppEnvironment
java.lang.Object
com.partnersoft.system.AppEnvironment
public class AppEnvironment
- extends java.lang.Object
Describes and manages the high-level runtime environment for
applications. This includes such info as whether the JVM was
launched directly or via Java Web Start, whether we must run in
"read-only" mode, where the current directory is, etc.
- Author:
- Paul Reavis
Copyright 1999-2004 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WINDOWS
public static final int WINDOWS
- See Also:
- Constant Field Values
LINUX
public static final int LINUX
- See Also:
- Constant Field Values
MAC
public static final int MAC
- See Also:
- Constant Field Values
AppEnvironment
public AppEnvironment()
singleton
public static AppEnvironment singleton()
isLinux
public boolean isLinux()
isMac
public boolean isMac()
isWindows
public boolean isWindows()
getOSType
public java.lang.String getOSType()
isHeadless
public boolean isHeadless()
isWebStarted
public boolean isWebStarted()
getWebStartURL
public java.net.URL getWebStartURL()
getOSDescription
public java.lang.String getOSDescription()
getJREDescription
public java.lang.String getJREDescription()
isReadOnly
public boolean isReadOnly()
getUserName
public java.lang.String getUserName()