fromString

fun fromString(versionString: String): Version

Returns a Version object based on the value of the given string.

Return

A Version object.

Parameters

versionString

A version string of format "{major}.{minor}.{build}".

Throws

If the given string is invalid.