Package com.avoka.core.util.ver
Class VersionValidator
- java.lang.Object
-
- com.avoka.core.util.ver.VersionValidator
-
public class VersionValidator extends Object
Provides Version Validator Methods.- Since:
- 17.10.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(String version)
Return true if the version text is valid.static String
validate(String version)
Validate version - length size between 0 and 20 characters, format (major.minor.patch-qualifier), etc.
-
-
-
Method Detail
-
isValid
public static boolean isValid(String version)
Return true if the version text is valid.- Parameters:
version
- the version text to test- Returns:
- true if the version text is valid
-
-