public class NativeAppLauncher extends AutoUpdateApp
Author: Tom Gutwin P.Eng.
Copyright (C) 2002 WebARTS
Design, North Vancouver Canada. All Rights Reserved.
Modifier and Type | Field and Description |
---|---|
int |
retVal |
APPLET_APP, appName_, appPropertyFilename_, CLASSPATH, HTTPURL_APP, JAVA_APP, NATIVE_APP, RMT_APP_AUTODOWNLOAD, RMT_APP_DOWNLOADURL, RMT_APP_JVM_CLASSPATH, RMT_APP_JVM_PARAMETERS, RMT_APP_TYPE, RMT_APP_URL
Constructor and Description |
---|
NativeAppLauncher(String appFilename,
String[] appArgs)
Basic constructor adds to super to set the name and properties for the
application.
|
Modifier and Type | Method and Description |
---|---|
private void |
launchApp(String appFilename,
String[] appArgs)
A helper method to wrap the setting up of the Properties to send to the
runApp method.
|
private void |
launchOS2App(String appFilename,
String[] appArgs)
A helper method when lauching OS/2 apps to wrap the setting up of the
Properties to send to the runApp method.
|
static void |
main(String[] args)
The main entry for this app.
|
convertSystemDependantPath, executeJavaApp, executeJavaApp, executeNativeApp, executeNativeApp, executeNativeApp, loadAutoAppPropertiesFile, loadPropertiesFile, runApp
public int retVal
public NativeAppLauncher(String appFilename, String[] appArgs)
private void launchOS2App(String appFilename, String[] appArgs)
private void launchApp(String appFilename, String[] appArgs)
public static void main(String[] args)
args
- are the commandline parameters.This app expects the 1st
parameter as the absolute executable file path. The rest are
passed as arguments to the executable that is being launched.AutoUpdateApp.runApp(java.util.Properties)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses