Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. |
Uses of UserPrincipal in java.nio.file.attribute |
---|
Modifier and Type | Interface and Description |
---|---|
interface |
GroupPrincipal
A UserPrincipal representing a group identity, used to
determine access rights to objects in a file system. |
Modifier and Type | Method and Description |
---|---|
UserPrincipal |
FileOwnerAttributeView.getOwner()
Read the file owner. |
static UserPrincipal |
Attributes.getOwner(FileRef file)
Returns the owner of a file. |
abstract UserPrincipal |
UserPrincipalLookupService.lookupPrincipalByName(String name)
Lookup a user principal by name. |
UserPrincipal |
PosixFileAttributes.owner()
Returns the owner of the file. |
UserPrincipal |
AclEntry.principal()
Returns the principal component. |
Modifier and Type | Method and Description |
---|---|
static void |
Attributes.setOwner(FileRef file,
UserPrincipal owner)
Updates the file owner. |
void |
FileOwnerAttributeView.setOwner(UserPrincipal owner)
Updates the file owner. |
AclEntry.Builder |
AclEntry.Builder.setPrincipal(UserPrincipal who)
Sets the principal component of this builder. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.