org.jurvis.platform
Class JvPlatformUtilities

java.lang.Object
  extended by org.jurvis.platform.JvPlatformUtilities

public class JvPlatformUtilities
extends Object

Various utility methods related to querying the platform and its specific characteristics.

Author:
Neil W. Weber

Constructor Summary
JvPlatformUtilities()
           
 
Method Summary
static float getJavaVersion()
          Return the version of the JRE/JDK being used to execute this application.
static boolean isMacintosh()
          Return true if the user is running on a Macintosh.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvPlatformUtilities

public JvPlatformUtilities()
Method Detail

getJavaVersion

public static float getJavaVersion()
Return the version of the JRE/JDK being used to execute this application. Returns 1.40 for 1.4.0, 1.41 for 1.4.1, and 1.31 for 1.3.1;


isMacintosh

public static boolean isMacintosh()
Return true if the user is running on a Macintosh.



Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.