Class VFSFileFactory

java.lang.Object
com.sshtools.common.files.vfs.VFSFileFactory
All Implemented Interfaces:
com.sshtools.common.files.AbstractFileFactory<VFSFile>

public class VFSFileFactory extends Object implements com.sshtools.common.files.AbstractFileFactory<VFSFile>
  • Constructor Details

  • Method Details

    • getFileSystemManager

      public org.apache.commons.vfs2.FileSystemManager getFileSystemManager()
    • isReturnURIForPath

      public boolean isReturnURIForPath()
    • setReturnURIForPath

      public void setReturnURIForPath(boolean useURI)
    • getFile

      public VFSFile getFile(String parent, String path) throws com.sshtools.common.permissions.PermissionDeniedException, IOException
      Throws:
      com.sshtools.common.permissions.PermissionDeniedException
      IOException
    • getFile

      public VFSFile getFile(String path) throws com.sshtools.common.permissions.PermissionDeniedException, IOException
      Specified by:
      getFile in interface com.sshtools.common.files.AbstractFileFactory<VFSFile>
      Throws:
      com.sshtools.common.permissions.PermissionDeniedException
      IOException
    • populateEvent

      public com.sshtools.common.events.Event populateEvent(com.sshtools.common.events.Event evt)
      Specified by:
      populateEvent in interface com.sshtools.common.files.AbstractFileFactory<VFSFile>
    • setDefaultPath

      public void setDefaultPath(String path) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • getDefaultPath

      public VFSFile getDefaultPath() throws com.sshtools.common.permissions.PermissionDeniedException, IOException
      Specified by:
      getDefaultPath in interface com.sshtools.common.files.AbstractFileFactory<VFSFile>
      Throws:
      com.sshtools.common.permissions.PermissionDeniedException
      IOException