Question about FileSystem's .supportedFileAttributeViews()
Francis Galiegue
fgaliegue at gmail.com
Thu Dec 18 18:27:03 UTC 2014
On Thu, Dec 18, 2014 at 7:15 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 18/12/2014 15:08, Francis Galiegue wrote:
>>
>> The documentation is not very clear about this, but let's say, for
>> instance, that an implementation supports the "acl" view; is it
>> required that this method report also "owner", since acl "inherits"
>> owner, so to speak? Similarly, if it supports "posix", will it have to
>> also report "basic" and "owner"?
>>
> All implementations are required to support basic.
>
Yep, I know ;)
> There isn't any requirement to support other views beyond that. Also no
> requirement to support "owner" if you support posix or acl. Clearly if you
> support either of those then it should be trivial to support owner too.
>
OK, I just wanted to know. This is because in my helper library, when
you implement posix for instance, you automatically support owner and
basic. This allows an fs developer to not care about such "trivial"
matters ;)
The "load on demand" bug still isn't cured, though...
Thanks,
--
Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/parboiled1/grappa (redde
Caesaris: https://github.com/sirthias)
More information about the nio-dev
mailing list