Class RenderedFileAttributeView

  • All Implemented Interfaces:
    java.nio.file.attribute.AttributeView, java.nio.file.attribute.BasicFileAttributeView, java.nio.file.attribute.FileAttributeView

    public class RenderedFileAttributeView
    extends java.lang.Object
    implements java.nio.file.attribute.BasicFileAttributeView
    • Constructor Summary

      Constructors 
      Constructor Description
      RenderedFileAttributeView​(java.nio.file.Path sourcePath, java.nio.file.attribute.FileAttributeView sourceAttributeView, java.nio.file.Path targetPath, java.lang.Class type, java.nio.file.LinkOption[] options, long size)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RenderedFileAttributeView

        public RenderedFileAttributeView​(java.nio.file.Path sourcePath,
                                         java.nio.file.attribute.FileAttributeView sourceAttributeView,
                                         java.nio.file.Path targetPath,
                                         java.lang.Class type,
                                         java.nio.file.LinkOption[] options,
                                         long size)
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface java.nio.file.attribute.AttributeView
        Specified by:
        name in interface java.nio.file.attribute.BasicFileAttributeView
      • readAttributes

        public java.nio.file.attribute.BasicFileAttributes readAttributes()
                                                                   throws java.io.IOException
        Specified by:
        readAttributes in interface java.nio.file.attribute.BasicFileAttributeView
        Throws:
        java.io.IOException
      • setTimes

        public void setTimes​(java.nio.file.attribute.FileTime lastModifiedTime,
                             java.nio.file.attribute.FileTime lastAccessTime,
                             java.nio.file.attribute.FileTime createTime)
                      throws java.io.IOException
        Specified by:
        setTimes in interface java.nio.file.attribute.BasicFileAttributeView
        Throws:
        java.io.IOException