java transformar string a url code example Example: java transformar string a url URL url = new URL(string);