限定符和类型 | 字段和说明 |
---|---|
static String |
VERSION_FILE |
构造器和说明 |
---|
VersionUtil() |
限定符和类型 | 方法和说明 |
---|---|
static Version |
parseVersion(String versionStr) |
protected static int |
parseVersionPart(String partStr) |
static Version |
versionFor(Class<?> cls)
Helper method that will try to load version information for specified
class.
|
public static Version versionFor(Class<?> cls)
Version.unknownVersion()
is
returned.protected static int parseVersionPart(String partStr)