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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectionFileSystem(org.apache.commons.vfs2.FileName rootName, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions, ConnectionManager connectionManager, VFSConnectionManagerHelper vfsConnectionManagerHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCapabilities(Collection<org.apache.commons.vfs2.Capability> collection) protected org.apache.commons.vfs2.FileObjectcreateFile(org.apache.commons.vfs2.provider.AbstractFileName fileName) protected BowlgetBowl()protected IKettleVFSprotected VariableSpacegetSpace()org.apache.commons.vfs2.FileObjectresolveFile(org.apache.commons.vfs2.FileName name) protected ConnectionFileNametoPvfsFileName(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, setAttributeMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, setContext, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
createFilein 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:
addCapabilitiesin 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:
resolveFilein interfaceorg.apache.commons.vfs2.FileSystem- Overrides:
resolveFilein classorg.apache.commons.vfs2.provider.AbstractFileSystem- Throws:
org.apache.commons.vfs2.FileSystemException
-
getBowl
-
getKettleVFS
-
getSpace
- Throws:
IOException
-