IcedTea-Web
NetX

net.sourceforge.jnlp
Class ApplicationDesc

java.lang.Object
  extended by net.sourceforge.jnlp.ApplicationDesc

public class ApplicationDesc
extends java.lang.Object

The application-desc element.


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.


IcedTea-Web
NetX

Submit a bug or feature