public abstract class AbstractSftpFileAttributeView extends AbstractLoggingBean implements FileAttributeView
Modifier and Type | Field and Description |
---|---|
protected LinkOption[] |
options |
protected Path |
path |
protected SftpFileSystemProvider |
provider |
log
Modifier | Constructor and Description |
---|---|
protected |
AbstractSftpFileAttributeView(SftpFileSystemProvider provider,
Path path,
LinkOption... options) |
Modifier and Type | Method and Description |
---|---|
Path |
getPath() |
String |
name() |
SftpFileSystemProvider |
provider() |
protected SftpClient.Attributes |
readRemoteAttributes() |
protected void |
writeRemoteAttributes(SftpClient.Attributes attrs) |
protected final SftpFileSystemProvider provider
protected final Path path
protected final LinkOption[] options
protected AbstractSftpFileAttributeView(SftpFileSystemProvider provider, Path path, LinkOption... options)
public String name()
name
in interface AttributeView
public final SftpFileSystemProvider provider()
SftpFileSystemProvider
used to
provide the view functionalityprotected SftpClient.Attributes readRemoteAttributes() throws IOException
IOException
protected void writeRemoteAttributes(SftpClient.Attributes attrs) throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.