L
Lee H
Hi,
Is there an easy way of verifying that a given string is a valid URL/URI
(In other words, that it is according to the syntax specified in
rfc2396. I don't mean to check if the resource exists, or even if the
host exist, just that it is syntactically valid).
(Constructors of java.net.URL throw MalformedURLException only if the
protocol is unknown).
Is there an easy way of verifying that a given string is a valid URL/URI
(In other words, that it is according to the syntax specified in
rfc2396. I don't mean to check if the resource exists, or even if the
host exist, just that it is syntactically valid).
(Constructors of java.net.URL throw MalformedURLException only if the
protocol is unknown).