section of the XML files.
- Author:
- Julien Ponge
- See Also:
- Serialized Form
Nested Class Summary |
static class |
Info.Author
This class represents an author. |
Field Summary |
private java.lang.String |
appName
The application name and version |
private java.lang.String |
appURL
The application URL |
private java.lang.String |
appVersion
The application name and version |
private java.util.ArrayList |
authors
The application authors |
private java.lang.String |
javaVersion
The required Java version (min) |
private boolean |
writeUninstaller
Whether to write the uninstaller |
Constructor Summary |
Info()
The constructor, deliberatly void. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appName
private java.lang.String appName
- The application name and version
appVersion
private java.lang.String appVersion
- The application name and version
authors
private java.util.ArrayList authors
- The application authors
appURL
private java.lang.String appURL
- The application URL
javaVersion
private java.lang.String javaVersion
- The required Java version (min)
writeUninstaller
private boolean writeUninstaller
- Whether to write the uninstaller
Info
public Info()
- The constructor, deliberatly void.
setAppName
public void setAppName(java.lang.String appName)
- Sets the application name.
- Parameters:
appName
- The new application name.
getAppName
public java.lang.String getAppName()
- Gets the application name.
- Returns:
- The application name.
setAppVersion
public void setAppVersion(java.lang.String appVersion)
- Sets the version.
- Parameters:
appVersion
- The application version.
getAppVersion
public java.lang.String getAppVersion()
- Gets the version.
- Returns:
- The application version.
addAuthor
public void addAuthor(Info.Author author)
- Adds an author to the authors list.
- Parameters:
author
- The author to add.
getAuthors
public java.util.ArrayList getAuthors()
- Gets the authors list.
- Returns:
- The authors list.
setAppURL
public void setAppURL(java.lang.String appURL)
- Sets the application URL.
- Parameters:
appURL
- The application URL.
getAppURL
public java.lang.String getAppURL()
- Gets the application URL.
- Returns:
- The application URL.
setJavaVersion
public void setJavaVersion(java.lang.String javaVersion)
- Sets the minimum Java version required.
- Parameters:
javaVersion
- The Java version.
getJavaVersion
public java.lang.String getJavaVersion()
- Gets the Java version required.
- Returns:
- The Java version.
getWriteUninstaller
public boolean getWriteUninstaller()
- Returns:
- Whether to write an uninstaller.
setWriteUninstaller
public void setWriteUninstaller(boolean b)