Package net.i2p
Class CoreVersion
java.lang.Object
net.i2p.CoreVersion
public class CoreVersion extends Object
Expose a version string.
See also: RouterVersion, VersionComparator, and the update subsystem.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CoreVersion()
-
Method Summary
Modifier and Type Method Description static String
getVersion()
For Vuze.static void
main(String[] args)
-
Field Details
-
ID
deprecated- See Also:
- Constant Field Values
-
VERSION
The version used when checking for router updates, and exchanged between router and client over I2CP. This is the marketing and user-visible version. If we ever need a point release for a specific architecture only, append ".1" to VERSION and leave PUBLISHED_VERSION unchanged. Otherwise, the same as PUBLISHED_VERSION. RouterVersion.FULL_VERSION is suggested for display to the user.- See Also:
- Constant Field Values
-
PUBLISHED_VERSION
The version published in the netdb via StatisticsManager. This is the API version. It must not go to 1.x for several years, because through 0.9.49, the Sybil analyzer blocked releases that didn't start with "0.9." If we ever need a point release for a specific architecture only, append ".1" to VERSION and leave PUBLISHED_VERSION unchanged. Otherwise, the same as VERSION. RouterVersion.FULL_VERSION is suggested for display to the user.- Since:
- 0.9.46
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CoreVersion
public CoreVersion()
-
-
Method Details
-
getVersion
For Vuze.- Returns:
- VERSION
- Since:
- 0.9.19
-
main
-