JDK-4304011 : java.io.File.copyTo() Enhancement.
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-01-11
  • Updated: 2000-02-25
  • Resolved: 2000-02-18
Related Reports
Duplicate :  
Description

Name: rf98795			Date: 01/11/2000



Add a new method java.io.File.copyTo() to copy a file, including any and all 
metadata. Presently there is no robust way to copy files without writing native 
code or using non-standard classes, since all the metadata like the type/creator/
resources will be lost.

======================================================================

Comments
EVALUATION Will be part of the new I/O package. Targeted for the Tiger release. david.biagini@Eng 2000-02-09 This functionality will be provided by the new filesystem interface (4313887). -- mr@eng 2000/2/18
09-02-2000