|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionInfo
License infos for about dialogs etc.
| Method Summary | |
|---|---|
boolean |
allRightsReserved()
Indicate, whether the copyright owner aka vendor has reserved all rights on the software. |
String |
getBuildNumber()
Get the build ID |
String |
getEndYear()
Get the year of development cycle, where this package was last time maintained. |
String |
getFromYear()
Get the year of start of the development cycle of this package. |
String |
getLicensePath()
Get the resource path for the plain text license file. |
ImageIcon |
getLogo()
Get the Vendor logo. |
String |
getProductName()
Get the name of the product. |
String |
getProductVersion()
Get the version of the product. |
String |
getShortLicenseName()
Get the short name of the license for the software. |
String |
getThirdPartyInfoPath()
Get the path to for third party license infos. |
String |
getVendorName()
Get the human readable name of the vendor. |
String |
getVendorURL()
Get the URL of the vendor for this package. |
boolean |
isSubjectToLicenseTerms()
Check, whether a note should be printed, whether the software is subject to special license terms. |
void |
printVersionInfo()
Print the version/copyright/vendor information for this package. |
| Method Detail |
|---|
String getProductName()
null.String getProductVersion()
null.String getBuildNumber()
null.String getFromYear()
null.String getEndYear()
null.String getVendorName()
null but can be.String getVendorURL()
null.void printVersionInfo()
boolean isSubjectToLicenseTerms()
true if a note should be displayed.String getShortLicenseName()
null if there
is no special name.
null if not applicable, the short name of the license
otherwise.boolean allRightsReserved()
true if the vendor/copyright owner reserved all rights.String getLicensePath()
null but can be.String getThirdPartyInfoPath()
<info>
<software>
<name>Product or Software name</name>
<version>Product/Software Version</version>
<copyright>Copyright string</copyright>
<type>License type</type>
<url>URL to the product or vendor</url>
</software>
<software>
...
</software>
</info>
E.g.:
<info>
<software>
<name>Swing Extensions</name>
<version>1.0</version>
<copyright>Copyright 2004 Sun Microsystems, Inc. All rights reserved.</copyright>
<type>GNU Lesser General Public License (LGPL)</type>
<url>https://swingx.dev.java.net/</url>
</software>
</info>
null if no thirdparty software is used
or no infos about it should be shown.ImageIcon getLogo()
null if not available.
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||