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.attribute.FileTime

Packages that use FileTime
Package Description
java.nio.file.attribute Interfaces and classes providing access to file and file system attributes. 
 

Uses of FileTime in java.nio.file.attribute
 

Methods in java.nio.file.attribute that return FileTime
Modifier and Type Method and Description
 FileTime BasicFileAttributes.creationTime()
          Returns the creation time if supported.
static FileTime FileTime.from(long value, TimeUnit unit)
          Returns a FileTime representing a value at the given unit of granularity.
static FileTime FileTime.fromMillis(long value)
          Returns a FileTime representing the given value in milliseconds.
 FileTime BasicFileAttributes.lastAccessTime()
          Returns the time of last access if supported.
 FileTime BasicFileAttributes.lastModifiedTime()
          Returns the time of last modification.
 

Methods in java.nio.file.attribute with parameters of type FileTime
Modifier and Type Method and Description
 int FileTime.compareTo(FileTime other)
          Compares the value of two FileTime objects for order.
static void Attributes.setLastAccessTime(FileRef file, FileTime lastAccessTime)
          Updates a file's last access time attribute.
static void Attributes.setLastModifiedTime(FileRef file, FileTime lastModifiedTime)
          Updates a file's last modified time attribute.
 void BasicFileAttributeView.setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime)
          Updates any or all of the file's last modified time, last access time, and create time attributes.
 


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.