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 PosixFilePermission in java.nio.file.attribute |
---|
Modifier and Type | Method and Description |
---|---|
static PosixFilePermission |
PosixFilePermission.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PosixFilePermission[] |
PosixFilePermission.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Modifier and Type | Method and Description |
---|---|
static FileAttribute<Set<PosixFilePermission>> |
PosixFilePermissions.asFileAttribute(Set<PosixFilePermission> perms)
Creates a FileAttribute , encapsulating a copy of the given file
permissions, suitable for passing to the createFile or createDirectory
methods. |
static Set<PosixFilePermission> |
PosixFilePermissions.fromString(String perms)
Returns the set of permissions corresponding to a given String
representation. |
Set<PosixFilePermission> |
PosixFileAttributes.permissions()
Returns the permissions of the file. |
Modifier and Type | Method and Description |
---|---|
static FileAttribute<Set<PosixFilePermission>> |
PosixFilePermissions.asFileAttribute(Set<PosixFilePermission> perms)
Creates a FileAttribute , encapsulating a copy of the given file
permissions, suitable for passing to the createFile or createDirectory
methods. |
void |
PosixFileAttributeView.setPermissions(Set<PosixFilePermission> perms)
Updates the file permissions. |
static void |
Attributes.setPosixFilePermissions(FileRef file,
Set<PosixFilePermission> perms)
Sets a file's POSIX permissions. |
static String |
PosixFilePermissions.toString(Set<PosixFilePermission> perms)
Returns the String representation of a set of permissions. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.