JDK-4032604 : Copy method in class java.io.File
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.1
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1997-02-14
  • Updated: 2001-11-21
  • Resolved: 2001-11-21
Description

Name: mc57594			Date: 02/14/97


File a_file = new File("c:/temp/file.txt");
File copy_of_file = a_file.copy("c:/temp/copy.txt");
company  -  Dator A/S  , email  -  ###@###.###
======================================================================

Comments
WORK AROUND Name: mc57594 Date: 02/14/97 ======================================================================
11-06-2004

EVALUATION Huh? Since when does the File class have a copy method? It doesn't, and we have no plans to add such a method because (1) You can easily do this yourself, and (2) Its behavior would vary widely across platforms. -- ###@###.### 2001/11/21
11-09-0187