JDK-4032604 : Copy method in class java.io.File
  • Type: Enhancement
  • Status: Closed
  • Resolution: Won't Fix
  • Component: core-libs
  • Sub-Component: java.io
  • Priority: P3
  • Affected Version: 1.1
  • OS: windows_nt
  • CPU: x86
  • Submit Date: 1997-02-14
  • Updated Date: 2001-11-21
  • Resolved Date: 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 ======================================================================
2004-06-11

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
187-09-11 0