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
|
Method Summary |
protected String |
getDependenciesText()
Subclasses must implement this method to return the text that should
replace the $dependencies placeholder in the JNLP template. |
protected String |
getExtensionsText()
Subclasses must implement this method to return the text that should
replace the $extension 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,
String defaultTemplateResourceName,
File resourceLoaderPath,
File outputFile,
String inputFileTemplatePath,
String mainClass,
String webstartJarURL)
- Parameters:
task - resourceLoaderPath - used to find the template in conjunction to inputFileTemplatePathoutputFile - inputFileTemplatePath - relative to resourceLoaderPath
getDependenciesText
protected 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.
getExtensionsText
protected String getExtensionsText()
- Description copied from class:
AbstractGenerator
- Subclasses must implement this method to return the text that should
replace the $extension placeholder in the JNLP template.
- Specified by:
getExtensionsText in class AbstractGenerator
- Returns:
- The extensions text, never null.
Copyright © 2005-2009 Codehaus. All Rights Reserved.