ator.isValid("ftp://foo.bar.com/")) {
       System.out.println("url is valid");
    } else {
       System.out.println("url is invalid");
    }

   prints out "url is valid"
  </pre>

 <p>Based on UrlValidator code from Apache commons-validator.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href='http://www.ietf.org/rfc/rfc2396.txt' >
  Uniform Resource Identifiers (URI): Generic Syntax
 </a></DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1