|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knuth.chkupdate.UpdateResult
public class UpdateResult
A wrapper-class holding informations on the latest update checked by a Provider.
Field Summary | |
---|---|
private java.util.Date |
update_date
The date of the last update |
private Version |
version
The latest version as a "Version"-Object |
private java.lang.String |
version_str
The latest version as a String |
Constructor Summary | |
---|---|
UpdateResult(java.lang.String version_str,
java.util.Date update_date)
Creates a new "UpdateResult"-Object and creates a "Version"-Object for the given version string. |
Method Summary | |
---|---|
java.util.Date |
getUpdateDate()
The Date of the latest version for this Update. |
Version |
getVersion()
Returns the version of this update as a "Version"-Object. |
java.lang.String |
getVersionString()
Returns the version of this update as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String version_str
private java.util.Date update_date
private Version version
Constructor Detail |
---|
public UpdateResult(java.lang.String version_str, java.util.Date update_date)
version_str
- The Version-String of the latest
update.update_date
- The Date of the latest update.Method Detail |
---|
public Version getVersion()
public java.lang.String getVersionString()
public java.util.Date getUpdateDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |