|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bristle.javalib.app.Application
public class Application
This class encapsulates data about an application (name, version, etc.)
Usage:
- Typical scenarios for using this class are...
- See the source code of the inner Tester class for more examples.
Assumptions:
Effects:
- None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
$Log$
| Constructor Summary | |
|---|---|
Application()
|
|
| Method Summary | |
|---|---|
String |
getAcronym()
Get the user-visible acronym of the application. |
String |
getCompanyAddress()
Get the company address. |
String |
getCompanyEMailAddress()
Get the company e-mail address. |
String |
getCompanyName()
Get the company name. |
String |
getCompanyPhoneNumber()
Get the company phone number. |
String |
getCompanyWebSiteURL()
Get the company web site URL. |
String |
getDescrip()
Get the description of the application, potentially multiple sentences. |
String |
getFullName()
Get the full user-visible name of the application. |
String |
getInternalName()
Get the internal name of the application, typically used in properties files and such, but not typically shown to the user. |
String |
getLargeImageFileName()
Get the filename of the large image (GIF, JPG, etc.) for the application. |
String |
getLongCopyright()
Get the long copyright of the application. |
int |
getMajorVersionNumber()
Get the major version number of the application. |
int |
getMinorVersionNumber()
Get the minor version number of the application. |
String |
getNotes()
Get the notes about the application. |
int |
getRevisionNumber()
Get the revision number of the application. |
String |
getShortCopyright()
Get the short copyright of the application. |
String |
getShortName()
Get the short user-visible name of the application. |
String |
getSmallImageFileName()
Get the filename of the small image (GIF, JPG, etc.) for the application. |
String |
getVersionString()
Get the user-visible version string of the application. |
void |
loadProperties(String strInternalName)
Load all properties from a properties file, using the specified internal name as the identifier in the properties file. |
void |
setAcronym(String strVal)
Set the user-visible acronym of the application. |
void |
setAll(String strFullName,
String strShortName,
String strAcronym,
String strInternalName,
String strVersionString,
int intMajorVersionNumber,
int intMinorVersionNumber,
int intRevisionNumber,
String strCompanyName,
String strCompanyAddress,
String strCompanyPhoneNumber,
String strCompanyEMailAddress,
String strCompanyWebSiteURL,
String strShortCopyright,
String strLongCopyright,
String strSmallImageFileName,
String strLargeImageFileName,
String strDescrip,
String strNotes)
Set all properties. |
void |
setCompanyAddress(String strVal)
Set the company address. |
void |
setCompanyEMailAddress(String strVal)
Set the company e-mail address. |
void |
setCompanyName(String strVal)
Set the company name. |
void |
setCompanyPhoneNumber(String strVal)
Set the company phone number. |
void |
setCompanyWebSiteURL(String strVal)
Set the company web site URL. |
void |
setDescrip(String strVal)
Set the description of the application, potentially multiple sentences. |
void |
setFullName(String strVal)
Set the full user-visible name of the application. |
void |
setInternalName(String strVal)
Set the internal name of the application, typically used in property files and such, but not typically shown to the user. |
void |
setLargeImageFileName(String strVal)
Get the filename of the large image (GIF, JPG, etc.) for the application. |
void |
setLongCopyright(String strVal)
Set the long copyright of the application. |
void |
setMajorVersionNumber(int intVal)
Set the major version number of the application. |
void |
setMinorVersionNumber(int intVal)
Set the minor version number of the application. |
void |
setNotes(String strVal)
Set the notes about the application. |
void |
setRevisionNumber(int intVal)
Set the revision number of the application. |
void |
setShortCopyright(String strVal)
Set the short copyright of the application. |
void |
setShortName(String strVal)
Set the short user-visible name of the application. |
void |
setSmallImageFileName(String strVal)
Get the filename of the small image (GIF, JPG, etc.) for the application. |
void |
setVersionString(String strVal)
Set the user-visible version string of the application. |
void |
shallowCopyFrom(Application objFrom)
Do a shallow copy of all properties from the specified object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Application()
| Method Detail |
|---|
public void setAll(String strFullName,
String strShortName,
String strAcronym,
String strInternalName,
String strVersionString,
int intMajorVersionNumber,
int intMinorVersionNumber,
int intRevisionNumber,
String strCompanyName,
String strCompanyAddress,
String strCompanyPhoneNumber,
String strCompanyEMailAddress,
String strCompanyWebSiteURL,
String strShortCopyright,
String strLongCopyright,
String strSmallImageFileName,
String strLargeImageFileName,
String strDescrip,
String strNotes)
strFullName - The property value.strShortName - The property value.strAcronym - The property value.strInternalName - The property value.strVersionString - The property value.intMajorVersionNumber - The property value.intMinorVersionNumber - The property value.intRevisionNumber - The property value.strCompanyName - The property value.strCompanyAddress - The property value.strCompanyPhoneNumber - The property value.strCompanyEMailAddress - The property value.strCompanyWebSiteURL - The property value.strShortCopyright - The property value.strLongCopyright - The property value.strSmallImageFileName - The property value.strLargeImageFileName - The property value.strDescrip - The property value.strNotes - The property value.public void shallowCopyFrom(Application objFrom)
objFrom - The object to copy from.public String getFullName()
public void setFullName(String strVal)
strVal - The value to set.public String getShortName()
public void setShortName(String strVal)
strVal - The value to set.public String getAcronym()
public void setAcronym(String strVal)
strVal - The value to set.public String getInternalName()
public void setInternalName(String strVal)
strVal - The value to set.public String getVersionString()
public void setVersionString(String strVal)
strVal - The value to set.public int getMajorVersionNumber()
public void setMajorVersionNumber(int intVal)
intVal - The value to set.public int getMinorVersionNumber()
public void setMinorVersionNumber(int intVal)
intVal - The value to set.public int getRevisionNumber()
public void setRevisionNumber(int intVal)
intVal - The value to set.public String getCompanyName()
public void setCompanyName(String strVal)
strVal - The value to set.public String getCompanyAddress()
public void setCompanyAddress(String strVal)
strVal - The value to set.public String getCompanyPhoneNumber()
public void setCompanyPhoneNumber(String strVal)
strVal - The value to set.public String getCompanyEMailAddress()
public void setCompanyEMailAddress(String strVal)
strVal - The value to set.public String getCompanyWebSiteURL()
public void setCompanyWebSiteURL(String strVal)
strVal - The value to set.public String getShortCopyright()
public void setShortCopyright(String strVal)
strVal - The value to set.public String getLongCopyright()
public void setLongCopyright(String strVal)
strVal - The value to set.public String getSmallImageFileName()
public void setSmallImageFileName(String strVal)
strVal - The value to set.public String getLargeImageFileName()
public void setLargeImageFileName(String strVal)
strVal - The value to set.public String getDescrip()
public void setDescrip(String strVal)
strVal - The value to set.public String getNotes()
public void setNotes(String strVal)
strVal - The value to set.public void loadProperties(String strInternalName)
strInternalName - The name to use when looking in properties files.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||