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(java.util.Collection caps) |
protected org.apache.commons.vfs2.FileObject |
createFile(org.apache.commons.vfs2.provider.AbstractFileName name) |
protected void |
doCloseCommunicationLink() |
protected SftpClient |
getClient() |
java.lang.String |
getHome()
Get the default path (as it is when first connected, usually the users
home).
|
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, setAttributeprotected 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.AbstractFileSystemprotected SftpClient getClient() throws java.io.IOException
java.io.IOExceptionprotected void putClient(SftpClient sftp)
protected void addCapabilities(java.util.Collection caps)
addCapabilities in class org.apache.commons.vfs2.provider.AbstractFileSystemprotected 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.AbstractFileSystemorg.apache.commons.vfs2.FileSystemExceptionpublic double getLastModTimeAccuracy()
getLastModTimeAccuracy in interface org.apache.commons.vfs2.FileSystemgetLastModTimeAccuracy in class org.apache.commons.vfs2.provider.AbstractFileSystempublic java.lang.String getHome()
Copyright © 2018. All rights reserved.