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

File.createTempDirectory() to create a temporary directory

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • 1.4.0
    • core-libs
    • generic
    • generic

    Description

      Name: rmT116609 Date: 08/22/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      and:

      java version "1.4.1-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b19)
      Java HotSpot(TM) Client VM (build 1.4.1-rc-b19, mixed mode)


      DESCRIPTION OF THE PROBLEM :
      RFE: Add methods to java.io.File:

      public static File createTempDirectory(String prefix, String
      suffix) ;
      public static File createTempDirectory(String prefix, String
      suffix, File directory) ;

      Same meaning as createTempFile() - but create directories.

      CUSTOMER WORKAROUND :
      File f=File.createTempFile(...);
      f.delete();
      f.mkdir();
      (Review ID: 163479)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: