Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.nio.file.LinkOption

Packages that use LinkOption
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
 

Methods in java.nio.file that return LinkOption
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.
 

Methods in java.nio.file with parameters of type LinkOption
Modifier and Type Method and Description
 Object FileRef.getAttribute(String attribute, LinkOption... options)
          Reads the value of a file attribute.
<V extends FileAttributeView>
V
FileRef.getFileAttributeView(Class<V> type, LinkOption... options)
          Returns a file attribute view of a given type.
abstract
<V extends FileAttributeView>
V
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
 

Methods in java.nio.file.attribute with parameters of type LinkOption
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

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.