org.codehaus.mojo.webstart
Class JnlpFile

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

public class JnlpFile
extends java.lang.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  java.util.List getJarResources()
          Returns the collection of JarResource elements for this JNLP file.
protected  java.lang.String getMainClass()
          Returns the fully qualified classname of the class to be specified as the main-class in the generated JNLP file.
protected  java.lang.String getOutputFilename()
          Returns the name to be used for the generated JNLP file.
protected  java.lang.String getTemplateFilename()
          Returns the name of the Velocity template file used to generate the JNLP file.
protected  void setMainClass(java.lang.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(java.lang.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 java.lang.String getOutputFilename()
Returns the name to be used for the generated JNLP file.

Returns:
Returns the value of the outputFilename field.

getTemplateFilename

protected java.lang.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 java.util.List getJarResources()
Returns the collection of JarResource elements for this JNLP file.

Returns:
Returns the value of the jarResources field.

getMainClass

protected java.lang.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(java.lang.String outputFilename)
Sets the outputFileName.

Parameters:
outputFilename -

setMainClass

protected void setMainClass(java.lang.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-2009. All Rights Reserved.