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
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConnectionFileSystem(org.apache.commons.vfs2.FileName rootName, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions, ConnectionManager connectionManager, VFSConnectionManagerHelper vfsConnectionManagerHelper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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
     
    protected IKettleVFS
     
    protected VariableSpace
     
    org.apache.commons.vfs2.FileObject
    resolveFile(org.apache.commons.vfs2.FileName name)
     
    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

  • 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 class org.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

      protected void addCapabilities(Collection<org.apache.commons.vfs2.Capability> collection)
      Specified by:
      addCapabilities in class org.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 interface org.apache.commons.vfs2.FileSystem
      Overrides:
      resolveFile in class org.apache.commons.vfs2.provider.AbstractFileSystem
      Throws:
      org.apache.commons.vfs2.FileSystemException
    • getBowl

      @NonNull protected Bowl getBowl()
    • getKettleVFS

      @NonNull protected IKettleVFS getKettleVFS()
    • getSpace

      @NonNull protected VariableSpace getSpace() throws IOException
      Throws:
      IOException