public static final MetadataServiceListVersion valueOf ( String version ) { String [ ] components = version . split ( "\\." ) ; return valueOf ( Integer . valueOf ( components [ 0 ] ) , Integer . valueOf ( components [ 1 ] ) ) ; }
Gets the version for a given version string such as 1 . 0 .