Class sunsoft.jws.visual.rt.base.Global
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.base.Global
java.lang.Object
|
+----sunsoft.jws.visual.rt.base.Global
- public class Global
- extends Object
Globals for runtime area.
-
util
- A convenient instance of the Util class, easy access to the utility
functions there.
-
Global()
-
-
getVendor()
- Returns the vendor of this runtime package.
-
getVersion()
- Returns the version number of this runtime package.
-
isIrix()
- Returns true if running on SGI Irix.
-
isMotif()
- Returns true if using Motif.
-
isSolaris()
- Returns true if running on Solaris.
-
isUnix()
- Returns true if running on Unix.
-
isWindows()
- Returns true if running on Windows 95 or NT.
-
isWindows95()
- Returns true if running on Windows 95.
-
isWindowsNT()
- Returns true if running on Windows NT.
-
javaVersion()
- Returns the version of Java we are using.
-
newline()
- Returns a string that can be used as a newline.
-
newline(StringBuffer)
- Appends a newline to buf.
util
public static Util util
- A convenient instance of the Util class, easy access to the utility
functions there.
Global
public Global()
getVersion
public static double getVersion()
- Returns the version number of this runtime package.
getVendor
public static String getVendor()
- Returns the vendor of this runtime package.
isWindows
public static boolean isWindows()
- Returns true if running on Windows 95 or NT.
isWindows95
public static boolean isWindows95()
- Returns true if running on Windows 95.
isWindowsNT
public static boolean isWindowsNT()
- Returns true if running on Windows NT.
isSolaris
public static boolean isSolaris()
- Returns true if running on Solaris.
isUnix
public static boolean isUnix()
- Returns true if running on Unix.
isIrix
public static boolean isIrix()
- Returns true if running on SGI Irix.
isMotif
public static boolean isMotif()
- Returns true if using Motif.
newline
public static String newline()
- Returns a string that can be used as a newline. This string includes
a carriage return if we are running on Windows.
newline
public static void newline(StringBuffer buf)
- Appends a newline to buf. This also appends a carriage return
if we are running on Windows.
javaVersion
public static double javaVersion()
- Returns the version of Java we are using.
All Packages Class Hierarchy This Package Previous Next Index