JDK-4104990 : File.{get,set}Attributes() to access all file attribute information
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.1.4
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-01-20
  • Updated: 2009-02-16
  • Resolved: 2009-02-16
Related Reports
Duplicate :  
Relates :  
Description
Name: dgC58589			Date: 01/20/98


Add setAttributes and getAttributes for a file.
A logical place would be in the java.io.File class.
(Review ID: 23461)
======================================================================

Comments
EVALUATION This feature has been addressed by the new file system API defined by JSR-203.
16-02-2009

EVALUATION As a stop gap measuer in mustang, a few new methods have been added to access specific file attributes under bug 6216563. We anticipate that JSR 203 (targetted for dolphin) will provide an interface for efficient access to all file attribute information.
25-08-2005

WORK AROUND Name: dgC58589 Date: 01/20/98 perform a platform dependent system call to set the attribute of a file or directory. ======================================================================
11-06-2004