Package com.avoka.core.util.ver
Class VersionValidator
java.lang.Object
com.avoka.core.util.ver.VersionValidator
Provides Version Validator Methods.
- Since:
- 17.10.0
-
Method Summary
-
Method Details
-
isValid
Return true if the version text is valid.- Parameters:
version
- the version text to test- Returns:
- true if the version text is valid
-
validate
Validate version - length size between 0 and 20 characters, format (major.minor.patch-qualifier), etc.- Parameters:
version
- version- Returns:
- String of error message, otherwise null.
-