public static APIVersion apiParseVersion(String version) {
        return apiParseVersion(version, null);
    }
Parses a version string. The version string must have the format
{@code MAJOR.MINOR.REVISION IMPL}, where {@code MAJOR} is the major
version (integer), {@code MINOR} is the minor version (integer),
{@code REVISION} is the revision version (string, optional) and
{@code IMPL} is implementation-specific information (string, optional).

@param version the API version string

@return the parsed {@link APIVersion}
jme3-lwjgl3/src/main/java/com/jme3/lwjgl3/utils/APIUtil.java