Class ConnectionFileSystem
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.pentaho.di.connections.vfs.provider.ConnectionFileSystem
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.commons.vfs2.FileSystem
,org.apache.commons.vfs2.provider.VfsComponent
public class ConnectionFileSystem
extends org.apache.commons.vfs2.provider.AbstractFileSystem
implements org.apache.commons.vfs2.FileSystem
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConnectionFileSystem
(org.apache.commons.vfs2.FileName rootName, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions, ConnectionManager connectionManager, VFSConnectionManagerHelper vfsConnectionManagerHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCapabilities
(Collection<org.apache.commons.vfs2.Capability> collection) protected org.apache.commons.vfs2.FileObject
createFile
(org.apache.commons.vfs2.provider.AbstractFileName fileName) protected Bowl
getBowl()
protected IKettleVFS
protected VariableSpace
getSpace()
org.apache.commons.vfs2.FileObject
resolveFile
(org.apache.commons.vfs2.FileName name) protected ConnectionFileName
toPvfsFileName
(org.apache.commons.vfs2.FileName providerFileName, String connectionName) Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem
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
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, setContext, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.vfs2.FileSystem
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, setAttribute
-
Field Details
-
CONNECTION
- See Also:
-
-
Constructor Details
-
ConnectionFileSystem
public ConnectionFileSystem(@NonNull org.apache.commons.vfs2.FileName rootName, @NonNull org.apache.commons.vfs2.FileSystemOptions fileSystemOptions, @NonNull ConnectionManager connectionManager, @NonNull VFSConnectionManagerHelper vfsConnectionManagerHelper)
-
-
Method Details
-
createFile
protected org.apache.commons.vfs2.FileObject createFile(org.apache.commons.vfs2.provider.AbstractFileName fileName) throws Exception - Specified by:
createFile
in classorg.apache.commons.vfs2.provider.AbstractFileSystem
- Throws:
Exception
-
toPvfsFileName
@NonNull protected ConnectionFileName toPvfsFileName(@NonNull org.apache.commons.vfs2.FileName providerFileName, @NonNull String connectionName) throws org.apache.commons.vfs2.FileSystemException - Throws:
org.apache.commons.vfs2.FileSystemException
-
addCapabilities
- Specified by:
addCapabilities
in classorg.apache.commons.vfs2.provider.AbstractFileSystem
-
resolveFile
public org.apache.commons.vfs2.FileObject resolveFile(org.apache.commons.vfs2.FileName name) throws org.apache.commons.vfs2.FileSystemException - Specified by:
resolveFile
in interfaceorg.apache.commons.vfs2.FileSystem
- Overrides:
resolveFile
in classorg.apache.commons.vfs2.provider.AbstractFileSystem
- Throws:
org.apache.commons.vfs2.FileSystemException
-
getBowl
-
getKettleVFS
-
getSpace
- Throws:
IOException
-