Modifier and Type | Field and Description |
---|---|
static String |
VERSION_FILE |
Constructor and Description |
---|
VersionUtil() |
Modifier and Type | Method and Description |
---|---|
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 final String VERSION_FILE
public static Version versionFor(Class<?> cls)
Version.unknownVersion()
is
returned.protected static int parseVersionPart(String partStr)