org.codehaus.mojo.webstart.generator
Class Generator

java.lang.Object
  extended by org.codehaus.mojo.webstart.generator.AbstractGenerator
      extended by org.codehaus.mojo.webstart.generator.Generator

public class Generator
extends AbstractGenerator

Generates a JNLP deployment descriptor

Author:
ngc, Jerome Lacoste

Constructor Summary
Generator(org.apache.maven.project.MavenProject mavenProject, AbstractJnlpMojo task, java.lang.String defaultTemplateResourceName, java.io.File resourceLoaderPath, java.io.File outputFile, java.lang.String inputFileTemplatePath, java.lang.String mainClass, java.lang.String webstartJarURL)
           
 
Method Summary
protected  java.lang.String getDependenciesText()
          Subclasses must implement this method to return the text that should replace the $dependencies placeholder in the JNLP template.
 
Methods inherited from class org.codehaus.mojo.webstart.generator.AbstractGenerator
generate, setExtraConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator(org.apache.maven.project.MavenProject mavenProject,
                 AbstractJnlpMojo task,
                 java.lang.String defaultTemplateResourceName,
                 java.io.File resourceLoaderPath,
                 java.io.File outputFile,
                 java.lang.String inputFileTemplatePath,
                 java.lang.String mainClass,
                 java.lang.String webstartJarURL)
Parameters:
task -
resourceLoaderPath - used to find the template in conjunction to inputFileTemplatePath
outputFile -
inputFileTemplatePath - relative to resourceLoaderPath
Method Detail

getDependenciesText

protected java.lang.String getDependenciesText()
Subclasses must implement this method to return the text that should replace the $dependencies placeholder in the JNLP template.

Specified by:
getDependenciesText in class AbstractGenerator
Returns:
The dependencies text, never null.


Copyright © 2005-2009. All Rights Reserved.