Package org.apache.sshd.sftp.client.impl
Class AbstractSftpFileAttributeView
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.sftp.client.impl.AbstractSftpFileAttributeView
- All Implemented Interfaces:
AttributeView
,FileAttributeView
- Direct Known Subclasses:
SftpAclFileAttributeView
,SftpPosixFileAttributeView
public abstract class AbstractSftpFileAttributeView
extends AbstractLoggingBean
implements FileAttributeView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LinkOption[]
protected final Path
protected final SftpFileSystemProvider
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSftpFileAttributeView
(SftpFileSystemProvider provider, Path path, LinkOption... options) -
Method Summary
Modifier and TypeMethodDescriptionfinal Path
getPath()
name()
final SftpFileSystemProvider
provider()
protected SftpClient.Attributes
protected void
-
Field Details
-
provider
-
path
-
options
-
-
Constructor Details
-
AbstractSftpFileAttributeView
protected AbstractSftpFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
-
-
Method Details
-
name
- Specified by:
name
in interfaceAttributeView
-
provider
- Returns:
- The underlying
SftpFileSystemProvider
used to provide the view functionality
-
getPath
- Returns:
- The referenced view
Path
-
readRemoteAttributes
- Throws:
IOException
-
writeRemoteAttributes
- Throws:
IOException
-