Class LaunchExternalProgramUtil

java.lang.Object
  extended byLaunchExternalProgramUtil

public class LaunchExternalProgramUtil
extends java.lang.Object


Constructor Summary
LaunchExternalProgramUtil()
           
 
Method Summary
static boolean isSupportedPlatform()
          Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.
static void launchProgram(java.lang.String progDir, java.lang.String programName)
          Utility class to external program on supported platform.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchExternalProgramUtil

public LaunchExternalProgramUtil()
Method Detail

launchProgram

public static void launchProgram(java.lang.String progDir,
                                 java.lang.String programName)
Utility class to external program on supported platform.

Parameters:
progDir - external program location.
programName - external program name

isSupportedPlatform

public static boolean isSupportedPlatform()
Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.

Returns:
true if this application is running under a Windows OS