Path.checkAccess (6873681)

Rémi Forax forax at univ-mlv.fr
Wed Oct 13 11:17:59 PDT 2010


Le 13/10/2010 19:27, Alan Bateman a écrit :
> Rémi Forax wrote:
>> :
>> The other solution is to move checkAccess in BasicFileAttributes or 
>> in Attributes.
>> If you decide to move checkAccess, I think that isHidden should follow.
> The effective access relates to the file content rather than the 
> attributes so I don't think this would work too well. The isHidden is 
> also not related to the basic attributes (it's a function of the file 
> name on Unix for example).
>
> -Alan

If you put them in Attributes, they can take a Path as parameter.
Or perhaps they should be in Paths.

Rémi


More information about the nio-dev mailing list