|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UserPrincipal | |
---|---|
org.classpath.icedtea.java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. |
Uses of UserPrincipal in org.classpath.icedtea.java.nio.file.attribute |
---|
Subinterfaces of UserPrincipal in org.classpath.icedtea.java.nio.file.attribute | |
---|---|
interface |
GroupPrincipal
A UserPrincipal representing a group identity, used to
determine access rights to objects in a file system. |
Methods in org.classpath.icedtea.java.nio.file.attribute that return UserPrincipal | |
---|---|
UserPrincipal |
FileOwnerAttributeView.getOwner()
Read the file owner. |
static UserPrincipal |
Attributes.getOwner(FileRef file)
Returns the owner of a file. |
abstract UserPrincipal |
UserPrincipalLookupService.lookupPrincipalByName(java.lang.String name)
Lookup a user principal by name. |
UserPrincipal |
PosixFileAttributes.owner()
Returns the owner of the file. |
UserPrincipal |
AclEntry.principal()
Returns the principal component. |
Methods in org.classpath.icedtea.java.nio.file.attribute with parameters of type UserPrincipal | |
---|---|
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. |
|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.