Class VFSManagerFactory

java.lang.Object
de.businesscode.bcdui.vfs.provider.database.VFSManagerFactory

public class VFSManagerFactory extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.commons.vfs2.impl.StandardFileSystemManager
    Method getVFSManager creates an instance of VFS manager and set configuration file
    static net.sf.ehcache.Cache
    gets VFS cahe instance
    static boolean
    if virtual file system is in current application active
    static org.apache.commons.vfs2.FileObject[]
    reads all children of VFS in database
    static net.sf.ehcache.Cache
    reads all DB files from VFS and registers files in catalog
    static void
    force-shutdown on the filesystem and the manager

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getManager

      public static org.apache.commons.vfs2.impl.StandardFileSystemManager getManager() throws org.apache.commons.vfs2.FileSystemException
      Method getVFSManager creates an instance of VFS manager and set configuration file
      Throws:
      org.apache.commons.vfs2.FileSystemException
    • readAllChildren

      public static org.apache.commons.vfs2.FileObject[] readAllChildren() throws org.apache.commons.vfs2.FileSystemException
      reads all children of VFS in database
      Throws:
      org.apache.commons.vfs2.FileSystemException
    • shutdown

      public static void shutdown()
      force-shutdown on the filesystem and the manager
    • registerCacheCatalog

      public static net.sf.ehcache.Cache registerCacheCatalog() throws org.apache.commons.vfs2.FileSystemException
      reads all DB files from VFS and registers files in catalog
      Throws:
      org.apache.commons.vfs2.FileSystemException
    • getVFSCache

      public static net.sf.ehcache.Cache getVFSCache()
      gets VFS cahe instance
    • isVFSactive

      public static boolean isVFSactive() throws BindingException
      if virtual file system is in current application active
      Throws:
      BindingException