Package net.i2p

Class CoreVersion


  • public class CoreVersion
    extends Object
    Expose a version string. See also: RouterVersion, VersionComparator, and the update subsystem.
    • Field Detail

      • VERSION

        public static final String 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

        public static final String 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 Detail

      • CoreVersion

        public CoreVersion()
    • Method Detail

      • getVersion

        public static String getVersion()
        For Vuze.
        Returns:
        VERSION
        Since:
        0.9.19
      • main

        public static void main​(String[] args)