Class AbstractSftpFileAttributeView

    • Field Detail

      • path

        protected final java.nio.file.Path path
      • options

        protected final java.nio.file.LinkOption[] options
    • Constructor Detail

      • AbstractSftpFileAttributeView

        protected AbstractSftpFileAttributeView​(SftpFileSystemProvider provider,
                                                java.nio.file.Path path,
                                                java.nio.file.LinkOption... options)
    • Method Detail

      • name

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

        public final java.nio.file.Path getPath()
        Returns:
        The referenced view Path
      • readRemoteAttributes

        protected SftpClient.Attributes readRemoteAttributes()
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeRemoteAttributes

        protected void writeRemoteAttributes​(SftpClient.Attributes attrs)
                                      throws java.io.IOException
        Throws:
        java.io.IOException