SyntaxFix
Write A Post
Hire A Developer
Questions
I'll try a standard "Why are you doing it this way?" answer... Do you know about java.net.URL?
java.net.URL
URL url = new URL(stringURL);
The above will throw a MalformedURLException if it can't parse the URL.
MalformedURLException