netx.jnlp

Class ApplicationDesc


public class ApplicationDesc
extends java.lang.Object

The application-desc element.
Version:
$Revision: 1.7 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

ApplicationDesc(String mainClass, arguments[] )
Create an Application descriptor.

Method Summary

void
addArgument(String arg)
Add an argument to the end of the arguments.
String[]
getArguments()
Returns the arguments
String
getMainClass()
Returns the main class name

Constructor Details

ApplicationDesc

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

Method Details

addArgument

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

getArguments

public String[] getArguments()
Returns the arguments

getMainClass

public String getMainClass()
Returns the main class name