public class AIRLaunchInfo extends Object
Modifier and Type | Field and Description |
---|---|
File |
airDebugLauncher
Full path to the AIR Debug Launcher,
adl.exe (Windows) or
adl (Mac/Linux). |
String |
airPublisherID
The publisher ID to use; passed to adl's "-pubid" option.
|
File |
airRuntimeDir
The directory that has runtime.dll, or
null to
use the default. |
File |
airSecurityPolicy
The filename of the security policy to use, or
null to
use the default. |
String |
applicationArguments
Command-line arguments for the user's program.
|
String[] |
applicationArgumentsArray
Array of command-line arguments for the user's program.
|
File |
applicationContentRootDir
The directory to specify as the application's content root, or
null to not tell ADL where the content root is, in which
case ADL will use the directory of the application.xml file as the
content root. |
String |
deviceExtDir
Directory to load native extensions from for devices.
|
int |
dpi
The dpi argument to pass to AIR 2.5's "-xscreenDPI" option.
|
String |
extDir
Directory to load native extensions from.
|
String |
profile
The profile to pass to AIR 2.0's "-profile" argument, or null to omit
the "-profile" argument.
|
String |
screenSize
The screensize argument to pass to AIR 2.0's "-screensize" option.
|
String |
versionPlatform
The version platform argument to pass to AIR's "-XversionPlatform"
option.
|
Constructor and Description |
---|
AIRLaunchInfo() |
public File airDebugLauncher
adl.exe
(Windows) or
adl
(Mac/Linux). This is mandatory.public File airRuntimeDir
null
to
use the default.public File airSecurityPolicy
null
to
use the default.public File applicationContentRootDir
null
to not tell ADL where the content root is, in which
case ADL will use the directory of the application.xml file as the
content root.public String[] applicationArgumentsArray
Note, this class has both applicationArgumentsArray
and
applicationArguments
. applicationArgumentsArray
accepts an array of arguments, and passes them down as-is to the
operating system. applicationArguments
takes a single
string, splits it into arguments, and passes the result to the operating
system. You can use whichever one is more convenient for you; typically,
one of these would be null
. If both are non-
null
, then applicationArgumentsArray
takes
precedence, and applicationArguments
is ignored.
public String applicationArguments
Note, see the comment above on applicationArgumentsArray
.
public String airPublisherID
public String profile
public String screenSize
public int dpi
public String versionPlatform
public String extDir
public String deviceExtDir
Copyright © 2016 The Apache Software Foundation. All rights reserved.