netx.jnlp
Class ApplicationDesc

java.lang.Object
  |
  +--netx.jnlp.ApplicationDesc

public class ApplicationDesc
extends java.lang.Object

The application-desc element.

Version:
$Revision: 1.6 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary
ApplicationDesc(java.lang.String mainClass, java.lang.String[] arguments)
          Create an Application descriptor.
 
Method Summary
 void addArgument(java.lang.String arg)
          Add an argument to the end of the arguments.
 java.lang.String[] getArguments()
          Returns the arguments
 java.lang.String getMainClass()
          Returns the main class name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDesc

public ApplicationDesc(java.lang.String mainClass,
                       java.lang.String[] arguments)
Create an Application descriptor.
Parameters:
mainClass - the main class name and package
arguments - the arguments
Method Detail

getMainClass

public java.lang.String getMainClass()
Returns the main class name

getArguments

public java.lang.String[] getArguments()
Returns the arguments

addArgument

public void addArgument(java.lang.String arg)
Add an argument to the end of the arguments.