public final class LaunchJNLP
extends java.lang.Object
LaunchJNLP.EType
.Modifier and Type | Class and Description |
---|---|
static class |
LaunchJNLP.EFlag
Different flags depending on the underlying OS.
|
static class |
LaunchJNLP.EType
Enumeration of the JNLP application entries which deliver
information on the concrete application, for example the current application
name, the initial and maximum heap size or the JNLP URL.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLAZZ |
static int |
DEFAULT_INITIAL_HEAP_SIZE
Default value of the initial heap size in MB.
|
static int |
DEFAULT_MAXIMUM_HEAP_SIZE
Default value of the maximum heap size in MB.
|
static java.lang.String |
JNLP_HEAP_SIZE_PROPERTIES
URL of the heap size file for the launched JNLP processes.
|
Constructor and Description |
---|
LaunchJNLP() |
Modifier and Type | Method and Description |
---|---|
static void |
launch(LaunchJNLP.EType jnlp_,
boolean waitForCompletion_,
java.lang.String... parameters_)
Launches on the enumeration
LaunchJNLP.EType the corresponding
JNLP URL in a new process. |
static void |
launch(LaunchJNLP.EType jnlp_,
java.lang.String... parameters_)
Launches on the enumeration
LaunchJNLP.EType the corresponding
JNLP URL in a new process. |
static void |
main(java.lang.String... args_)
Main class method.
|
public static final java.lang.String CLAZZ
public static final int DEFAULT_INITIAL_HEAP_SIZE
public static final int DEFAULT_MAXIMUM_HEAP_SIZE
public static final java.lang.String JNLP_HEAP_SIZE_PROPERTIES
public static final void main(java.lang.String... args_)
args_
- Arguments.public static final void launch(LaunchJNLP.EType jnlp_, java.lang.String... parameters_) throws java.io.IOException
LaunchJNLP.EType
the corresponding
JNLP URL in a new process. Waits automatically for completion. It doesn't
check if the parameters are valid!jnlp_
- JNLP enumeration component.parameters_
- List of parameters.java.io.IOException
- Is thrown if an IO error occurs in the file system.public static final void launch(LaunchJNLP.EType jnlp_, boolean waitForCompletion_, java.lang.String... parameters_) throws java.io.IOException
LaunchJNLP.EType
the corresponding
JNLP URL in a new process. It doesn't check if the parameters are valid!jnlp_
- JNLP enumeration component.waitForCompletion_
- Boolean value which waits for completion if set
to true
.parameters_
- List of parameters.java.io.IOException
- Is thrown if an IO error occurs in the file system.13-September-2017 07:50 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft