Which two file attribute views support reading or updating the owner of a file?
A.
AclFileAttributeView
B.
DosFileAttributeView
C.
FileOwnerAttributeView
D.
FileStoreAttributeView
E.
BasicFileAttributeView
Explanation:
A: The AclFileAttributeView is a file attribute view that supports reading or updating
a file’s Access Control Lists (ACL) or file owner attributes.
C: The FileOwnerAttributeView.setOwner(UserPrincipal owner) method updates the file owner.
Reference:Interface AclFileAttributeView,Interface FileOwnerAttributeView