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 Interface
java.nio.file.attribute.BasicFileAttributes

Packages that use BasicFileAttributes
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 BasicFileAttributes in java.nio.file
 

Methods in java.nio.file with parameters of type BasicFileAttributes
Modifier and Type Method and Description
 FileVisitResult SimpleFileVisitor.preVisitDirectory(T dir, BasicFileAttributes attrs)
          Invoked for a directory before entries in the directory are visited.
 FileVisitResult FileVisitor.preVisitDirectory(T dir, BasicFileAttributes attrs)
          Invoked for a directory before entries in the directory are visited.
 FileVisitResult SimpleFileVisitor.visitFile(T file, BasicFileAttributes attrs)
          Invoked for a file in a directory.
 FileVisitResult FileVisitor.visitFile(T file, BasicFileAttributes attrs)
          Invoked for a file in a directory.
 

Uses of BasicFileAttributes in java.nio.file.attribute
 

Subinterfaces of BasicFileAttributes in java.nio.file.attribute
Modifier and Type Interface and Description
 interface DosFileAttributes
          File attributes associated with a file in a file system that supports legacy "DOS" attributes.
 interface PosixFileAttributes
          File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
 

Methods in java.nio.file.attribute that return BasicFileAttributes
Modifier and Type Method and Description
 BasicFileAttributes BasicFileAttributeView.readAttributes()
          Reads the basic file attributes as a bulk operation.
static BasicFileAttributes Attributes.readBasicFileAttributes(FileRef file, LinkOption... options)
          Reads the basic 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.