add CoreVersion.getVersion()

This commit is contained in:
zzz
2015-03-18 14:13:05 +00:00
parent 91fe62eee3
commit 486f282999

View File

@ -14,10 +14,21 @@ package net.i2p;
*
*/
public class CoreVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = "0.9.18";
/**
* For Vuze.
* @return VERSION
* @since 0.9.19
*/
public static String getVersion() {
return VERSION;
}
public static void main(String args[]) {
System.out.println("I2P Core version: " + VERSION);
System.out.println("ID: " + ID);