private static final class TFileSystemProvider.FsEntryAttributeView extends Object implements java.nio.file.attribute.BasicFileAttributeView
| Constructor and Description |
|---|
TFileSystemProvider.FsEntryAttributeView(TPath path) |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
java.nio.file.attribute.BasicFileAttributes |
readAttributes() |
void |
setTimes(java.nio.file.attribute.FileTime lastModifiedTime,
java.nio.file.attribute.FileTime lastAccessTime,
java.nio.file.attribute.FileTime createTime) |
private static long |
toMillis(java.nio.file.attribute.FileTime time) |
private final TPath path
TFileSystemProvider.FsEntryAttributeView(TPath path)
public String name()
name in interface java.nio.file.attribute.AttributeViewname in interface java.nio.file.attribute.BasicFileAttributeViewpublic java.nio.file.attribute.BasicFileAttributes readAttributes() throws IOException
readAttributes in interface java.nio.file.attribute.BasicFileAttributeViewIOExceptionpublic void setTimes(java.nio.file.attribute.FileTime lastModifiedTime, java.nio.file.attribute.FileTime lastAccessTime, java.nio.file.attribute.FileTime createTime) throws IOException
setTimes in interface java.nio.file.attribute.BasicFileAttributeViewIOExceptionprivate static long toMillis(java.nio.file.attribute.FileTime time)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.