org.codehaus.mojo.webstart
Class JnlpFile

java.lang.Object
  extended by org.codehaus.mojo.webstart.JnlpFile

public class JnlpFile
extends Object

This class represents a <jnlpFile> configuration element from the pom.xml file. It contains the configuration elements that are specific to a single JNLP that will be generated by the webstart plugin.

Since:
1.0-alpha-2
Version:
$Revision: 6588 $
Author:
Kevin Stembridge

Constructor Summary
JnlpFile()
          Creates a new uninitialized JnlpFile.
 
Method Summary
protected  List getJarResources()
          Returns the collection of JarResource elements for this JNLP file.
protected  String getMainClass()
          Returns the fully qualified classname of the class to be specified as the main-class in the generated JNLP file.
protected  String getOutputFilename()
          Returns the name to be used for the generated JNLP file.
protected  String getTemplateFilename()
          Returns the name of the Velocity template file used to generate the JNLP file.
protected  void setMainClass(String mainClass)
          Sets the fully qualified classname of the class to be specified as the main-class in the generated JNLP file.
protected  void setOutputFilename(String outputFilename)
          Sets the outputFileName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JnlpFile

public JnlpFile()
Creates a new uninitialized JnlpFile.

Method Detail

getOutputFilename

protected String getOutputFilename()
Returns the name to be used for the generated JNLP file.

Returns:
Returns the value of the outputFilename field.

getTemplateFilename

protected String getTemplateFilename()
Returns the name of the Velocity template file used to generate the JNLP file.

Returns:
Returns the name of the JNLP template file.

getJarResources

protected List getJarResources()
Returns the collection of JarResource elements for this JNLP file.

Returns:
Returns the value of the jarResources field.

getMainClass

protected String getMainClass()
Returns the fully qualified classname of the class to be specified as the main-class in the generated JNLP file.

Returns:
Returns the value of the mainClass field.

setOutputFilename

protected void setOutputFilename(String outputFilename)
Sets the outputFileName.

Parameters:
outputFilename -

setMainClass

protected void setMainClass(String mainClass)
Sets the fully qualified classname of the class to be specified as the main-class in the generated JNLP file.

Parameters:
mainClass -


Copyright © 2005-2011 Codehaus. All Rights Reserved.