public URI toURI() throws URISyntaxException {
  return new URI(toExternalForm());
}

public URI toURI ( ) throws URISyntaxException { return new URI ( toExternalForm ( ) ) ; }
returns the uri equivalent to this url .
