Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. |
Uses of LinkOption in java.nio.file |
---|
Modifier and Type | Method and Description |
---|---|
static LinkOption |
LinkOption.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LinkOption[] |
LinkOption.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Modifier and Type | Method and Description | |
---|---|---|
Object |
FileRef.getAttribute(String attribute,
LinkOption... options)
Reads the value of a file attribute. |
|
|
FileRef.getFileAttributeView(Class<V> type,
LinkOption... options)
Returns a file attribute view of a given type. |
|
abstract
|
SecureDirectoryStream.getFileAttributeView(T path,
Class<V> type,
LinkOption... options)
Returns a new file attribute view to access the file attributes of a file in this directory. |
|
abstract SecureDirectoryStream<T> |
SecureDirectoryStream.newDirectoryStream(T path,
LinkOption... options)
Opens the directory identified by the given path, returning a SecureDirectoryStream to iterate over the entries in the directory. |
|
Map<String,?> |
FileRef.readAttributes(String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation. |
|
void |
FileRef.setAttribute(String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute. |
Uses of LinkOption in java.nio.file.attribute |
---|
Modifier and Type | Method and Description |
---|---|
static BasicFileAttributes |
Attributes.readBasicFileAttributes(FileRef file,
LinkOption... options)
Reads the basic file attributes of a file. |
static DosFileAttributes |
Attributes.readDosFileAttributes(FileRef file,
LinkOption... options)
Reads the DOS file attributes of a file. |
static PosixFileAttributes |
Attributes.readPosixFileAttributes(FileRef file,
LinkOption... options)
Reads the POSIX file attributes of a file. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.