The getOwner or setOwner methods may
be used to read or update the owner of the file.
The getAttribute and
setAttribute methods may also be
used to read or update the owner. In that case, the owner attribute is
identified by the name "owner", and the value of the attribute is
a UserPrincipal.
| Modifier and Type | Method and Description |
|---|---|
| public UserPrincipal | |
| public String | name()
Redeclares java. Returns the name of the attribute view. |
| public void |
| getOwner | back to summary |
|---|---|
| public UserPrincipal getOwner() throws IOException Read the file owner. It is implementation specific if the file owner can be a
| |
| name | back to summary |
|---|---|
| public String name() Redeclares java. Returns the name of the attribute view. Attribute views of this type
have the name
| |
| setOwner | back to summary |
|---|---|
| public void setOwner(UserPrincipal owner) throws IOException Updates the file owner. It is implementation specific if the file owner can be a
| |