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

File(URL url) convenience method

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      It would be nice if we could easily convert from a URL to a File similar to
      the functionality we currently have for URIs.

      e.g.

      public File(URL url) {
         new File(new URI(url.toExternalForm()));
      }

      -- iag@sfbay 2002-06-12

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              iris Iris Clark
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: