Package | Description |
---|---|
java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
Modifier and Type | Method and Description |
---|---|
GroupPrincipal |
PosixFileAttributes.group()
Returns the group owner of the file.
|
abstract GroupPrincipal |
UserPrincipalLookupService.lookupPrincipalByGroupName(String group)
Lookup a group principal by group name.
|
Modifier and Type | Method and Description |
---|---|
void |
PosixFileAttributeView.setGroup(GroupPrincipal group)
Updates the file group-owner.
|