net.sf.gridarta.updater
private static class Updater.VersionInfo extends Object
Modifier and Type | Field and Description |
---|---|
private String |
developer
Update information: Developer that created the update version.
|
private String |
timestamp
Update information: Time stamp of update version.
|
private static Updater.VersionInfo |
UNAVAILABLE
Special Version "unavailable".
|
private String |
version
Update information: Version of update version, usually the build
number.
|
Modifier | Constructor and Description |
---|---|
private |
Updater.VersionInfo()
Private constructor used for unavailable versions.
|
private |
Updater.VersionInfo(ResourceBundle bundle,
String prefix)
Create update information from a ResourceBundle.
|
private |
Updater.VersionInfo(String version,
String timestamp,
String developer)
Private constructor to map the strings.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
isNewerThan(Updater.VersionInfo other)
Check whether this version is newer than another version.
|
@NotNull private final String version
@NotNull private final String developer
@NotNull private static final Updater.VersionInfo UNAVAILABLE
private Updater.VersionInfo()
private Updater.VersionInfo(@NotNull String version, @NotNull String timestamp, @NotNull String developer)
version
- the versiontimestamp
- the timestampdeveloper
- the developerprivate Updater.VersionInfo(@NotNull ResourceBundle bundle, @NotNull String prefix)
.number
,
.tstamp
and .developer
.bundle
- ResourceBundle to create update information fromprefix
- Prefix for update information within the resource
bundleboolean isNewerThan(@NotNull Updater.VersionInfo other)
other
- Other version information to compare totrue
if this version is newer than
other, otherwise false
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.