The {@link #getOwner getOwner} or {@link #setOwner setOwner} methods maybe used to read or update the owner of the file.
The {@link java.nio.file.Files#getAttribute getAttribute} and{@link java.nio.file.Files#setAttribute setAttribute} methods may also beused to read or update the owner. In that case, the owner attribute is identified by the name {@code "owner"}, and the value of the attribute is a {@link UserPrincipal}. @since 1.7
|
|
|
|
|
|
|
|