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

no way to remove a file or directory

XMLWordPrintable

    • 1.0fcs
    • generic, sparc
    • solaris_2.4
    • Not verified

      There's a File.renameTo() method, but no File.remove() method.
      Truncating a file and/or renaming it to an obscure name is just
      about as good as removing it, but not quite. There seems to be
      no reason not to provide this function.

      There should probably be a rmdir function as well.

      The description field as copied from bug report 1222517 follows:

      There is no way to delete files.

            dbowensunw David Bowen (Inactive)
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: