Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4701417

convenience method URL.toURI()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.1
    • core-libs
    • None
    • generic
    • generic

      It would be nice if there was a way to easily convert from a URL to a
      URI similar to the functionality we currently have in URI.toURL().

      e.g.

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

      -- iag@sfbay 2002-06-12

            jccollet Jean-Christophe Collet (Inactive)
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: