public class ConnectionFileSystem
extends org.apache.commons.vfs2.provider.AbstractFileSystem
implements org.apache.commons.vfs2.FileSystem
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION |
static String |
DOMAIN_ROOT |
Constructor and Description |
---|
ConnectionFileSystem(org.apache.commons.vfs2.FileName rootName,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(Collection<org.apache.commons.vfs2.Capability> collection) |
protected org.apache.commons.vfs2.FileObject |
createFile(org.apache.commons.vfs2.provider.AbstractFileName abstractFileName) |
static String |
getUrl(org.apache.commons.vfs2.provider.AbstractFileName abstractFileName,
ConnectionDetails connectionDetails)
Creates a url for
ConnectionFileName |
org.apache.commons.vfs2.FileObject |
resolveFile(org.apache.commons.vfs2.FileName name) |
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, setAttribute
getContext, getLogger, setContext, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, setAttribute
public static final String CONNECTION
public static final String DOMAIN_ROOT
public ConnectionFileSystem(org.apache.commons.vfs2.FileName rootName, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
public static String getUrl(org.apache.commons.vfs2.provider.AbstractFileName abstractFileName, ConnectionDetails connectionDetails)
ConnectionFileName
abstractFileName
- File nameconnectionDetails
- Connection details for the file nameprotected org.apache.commons.vfs2.FileObject createFile(org.apache.commons.vfs2.provider.AbstractFileName abstractFileName) throws Exception
createFile
in class org.apache.commons.vfs2.provider.AbstractFileSystem
Exception
protected void addCapabilities(Collection<org.apache.commons.vfs2.Capability> collection)
addCapabilities
in class org.apache.commons.vfs2.provider.AbstractFileSystem
public org.apache.commons.vfs2.FileObject resolveFile(org.apache.commons.vfs2.FileName name) throws org.apache.commons.vfs2.FileSystemException
resolveFile
in interface org.apache.commons.vfs2.FileSystem
resolveFile
in class org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.FileSystemException
Copyright © 2020 Hitachi Vantara. All rights reserved.