org.codehaus.mojo.webstart.generator
Class Generator
java.lang.Object
org.codehaus.mojo.webstart.generator.AbstractGenerator
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 inputFileTemplatePathoutputFile
- inputFileTemplatePath
- relative to resourceLoaderPath
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.