public class SftpFileSystem
extends org.apache.commons.vfs2.provider.AbstractFileSystem
Modifier | Constructor and Description |
---|---|
protected |
SftpFileSystem(org.apache.commons.vfs2.provider.GenericFileName rootName,
SshClient ssh,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(Collection<org.apache.commons.vfs2.Capability> caps) |
protected org.apache.commons.vfs2.FileObject |
createFile(org.apache.commons.vfs2.provider.AbstractFileName name) |
protected void |
doCloseCommunicationLink() |
protected SftpClient |
getClient() |
String |
getHome() |
double |
getLastModTimeAccuracy() |
protected void |
putClient(SftpClient sftp) |
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
protected SftpFileSystem(org.apache.commons.vfs2.provider.GenericFileName rootName, SshClient ssh, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
protected void doCloseCommunicationLink()
doCloseCommunicationLink
in class org.apache.commons.vfs2.provider.AbstractFileSystem
protected SftpClient getClient() throws IOException
IOException
protected void putClient(SftpClient sftp)
protected void addCapabilities(Collection<org.apache.commons.vfs2.Capability> caps)
addCapabilities
in class org.apache.commons.vfs2.provider.AbstractFileSystem
protected org.apache.commons.vfs2.FileObject createFile(org.apache.commons.vfs2.provider.AbstractFileName name) throws org.apache.commons.vfs2.FileSystemException
createFile
in class org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.FileSystemException
public double getLastModTimeAccuracy()
getLastModTimeAccuracy
in interface org.apache.commons.vfs2.FileSystem
getLastModTimeAccuracy
in class org.apache.commons.vfs2.provider.AbstractFileSystem
public String getHome()
Copyright © 2024. All rights reserved.