public class JnlpFile extends Object
Constructor and Description |
---|
JnlpFile()
Creates a new uninitialized
JnlpFile . |
Modifier and Type | Method and Description |
---|---|
List<String> |
getArguments() |
String |
getInputTemplate()
Returns the name of the Velocity template file used to generate the
JNLP file.
|
String |
getInputTemplateResourcePath() |
protected List<JarResource> |
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 Map<String,String> |
getProperties()
Returns the extrat
properties we can inject in the generated JNLP file. |
String |
getTemplateFilename() |
void |
setArguments(List<String> arguments) |
void |
setInputTemplate(String inputTemplate) |
void |
setInputTemplateResourcePath(String inputTemplateResourcePath) |
protected void |
setJarResources(List<JarResource> jarResources)
Sets the collection of
JarResource elements for this 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.
|
void |
setProperties(Map<String,String> properties)
Sets the extra properties we can inject in the generated JNLP file.
|
public String getTemplateFilename()
public void setInputTemplateResourcePath(String inputTemplateResourcePath)
public String getInputTemplateResourcePath()
public void setInputTemplate(String inputTemplate)
public String getInputTemplate()
protected String getOutputFilename()
protected List<JarResource> getJarResources()
JarResource
elements for this JNLP file.protected String getMainClass()
main-class
in the generated JNLP file.protected Map<String,String> getProperties()
properties
we can inject in the generated JNLP file.protected void setJarResources(List<JarResource> jarResources)
JarResource
elements for this JNLP file.jarResources
- the new value for field jarResources
protected void setOutputFilename(String outputFilename)
outputFilename
- the new value for field outputFilename
protected void setMainClass(String mainClass)
main-class
in the generated JNLP file.mainClass
- the new value for field mainClass
public void setProperties(Map<String,String> properties)
properties
- the new value for field properties
Copyright © 2005–2016 MojoHaus. All rights reserved.