Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4104990
Votes 10
Synopsis File.{get,set}Attributes() to access all file attribute information
Category java:classes_io
Reported Against 1.1.4
Release Fixed
State 11-Closed, duplicate of 4313887, request for enhancement
Priority: 4-Low
Related Bugs 4084666 , 4313887
Submit Date 20-JAN-1998
Description


Add setAttributes and getAttributes for a file.
A logical place would be in the java.io.File class.
(Review ID: 23461)
======================================================================
Posted Date : 2005-08-25 16:09:49.0
Work Around




perform a platform dependent system call to set the attribute of a file or directory.
======================================================================
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.
Posted Date : 2005-08-25 16:09:49.0

This feature has been addressed by the new file system API defined by JSR-203.
Posted Date : 2009-02-16 13:46:45.0
Comments
  
  Include a link with my name & email   

Submitted On 04-NOV-1999
cafox
This feature is essential to my Java application.  I want to keep it platform
independent. When
I use the platform dependent method with Win95 a black screen pops up while it
is 
setting the readonly attribute.  
cfox@answerthink.com


Submitted On 03-FEB-2008
BishnuChoudhury
Would u please specify whether the fix is provided in any version, as it has an older submission date.



PLEASE NOTE: JDK6 is formerly known as Project Mustang