how to convert string to uuid java code example Example: java string to uuid UUID.fromString(string);