Top Fields Constructors Methods
org.apache.sshd.sftp.client.impl

public abstract Class AbstractSftpFileAttributeView

extends AbstractLoggingBean
implements FileAttributeView
Class Inheritance
All Implemented Interfaces
java.nio.file.attribute.FileAttributeView, java.nio.file.attribute.AttributeView
Known Direct Subclasses
org.apache.sshd.sftp.client.fs.SftpAclFileAttributeView, org.apache.sshd.sftp.client.fs.SftpPosixFileAttributeView
Imports
java.io.IOException, java.nio.file.LinkOption, .NoSuchFileException, .Path, java.nio.file.attribute.FileAttributeView, java.util.Objects, org.apache.sshd.common.util.logging.AbstractLoggingBean, org.apache.sshd.sftp.client.SftpClient, org.apache.sshd.sftp.client.fs.SftpFileSystem, .SftpFileSystemProvider, .SftpPath, org.apache.sshd.sftp.common.SftpConstants, .SftpException

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
protected final LinkOption[]
protected final Path
protected final SftpFileSystemProvider
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
log

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final Path

Returns:

The referenced view Path
getPath
()

public String
name()

Implements java.nio.file.attribute.AttributeView.name.

Returns the name of the attribute view.

public final SftpFileSystemProvider

Returns:

The underlying SftpFileSystemProvider used to provide the view functionality
provider
()

protected SftpClient.Attributes
protected void
Inherited from org.apache.sshd.common.util.logging.AbstractLoggingBean:
debugdebugdebugdebugdebugerrorerrorerrorerrorerrorgetSimplifiedLoggerinfoinfowarnwarnwarnwarnwarnwarnwarnwarn

Field Detail

optionsback to summary
protected final LinkOption[] options
pathback to summary
protected final Path path
providerback to summary
protected final SftpFileSystemProvider provider

Constructor Detail

AbstractSftpFileAttributeViewback to summary
protected AbstractSftpFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)

Method Detail

getPathback to summary
public final Path getPath()
Returns:Path

The referenced view Path

nameback to summary
public String name()

Implements java.nio.file.attribute.AttributeView.name.

Doc from java.nio.file.attribute.AttributeView.name.

Returns the name of the attribute view.

Returns:String

the name of the attribute view

Annotations
@Override
providerback to summary
public final SftpFileSystemProvider provider()
Returns:SftpFileSystemProvider

The underlying SftpFileSystemProvider used to provide the view functionality

readRemoteAttributesback to summary
protected SftpClient.Attributes readRemoteAttributes() throws IOException
writeRemoteAttributesback to summary
protected void writeRemoteAttributes(SftpClient.Attributes attrs) throws IOException