java.lang.Object
net.i2p.router.RouterVersion
Expose a version string.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe router build number.static final StringFor example "-test".static final StringThe full version string, combining version, build, and extra.static final StringDeprecated, do not use.static final StringFor example: "beta", "alpha", "rc".static final StringThe router version number.Constructor Summary
ConstructorsConstructorDescriptionThe version constants are static and the only method ismain(String[]), so an instance carries nothing.Method Summary
All Methods
Field Details
ID
VERSION
STATUS
BUILD
EXTRA
FULL_VERSION
The full version string, combining version, build, and extra.- See Also:
Constructor Details
RouterVersion
public RouterVersion()The version constants are static and the only method ismain(String[]), so an instance carries nothing.
Method Details
main
Print the router and core version strings.- Parameters:
args- ignored; this utility takes no command-line arguments