private DefaultFileSystemManager evaluateFileSystemManager()
        throws EFapsException
    {
        final DefaultFileSystemManager ret = new DefaultFileSystemManager();

        final String baseName =  getProperties().get(VFSStoreResource.PROPERTY_BASENAME);
        final String provider =  getProperties().get(VFSStoreResource.PROPERTY_PROVIDER);
        final String filesCacheName;
        if (getProperties().containsKey(VFSStoreResource.PROPERTY_FILESCACHE)) {
            filesCacheName = getProperties().get(VFSStoreResource.PROPERTY_FILESCACHE);
        } else {
            filesCacheName = LRUFilesCache.class.getName();
        }
        try {
            final FilesCache filesCache = (FilesCache) Class.forName(filesCacheName).newInstance();
            ret.setFilesCache(filesCache);
            final FileProvider fileProvider = (FileProvider) Class.forName(provider).newInstance();
            ret.addProvider(baseName, fileProvider);
            final FileObject baseFile = VFS.getManager().resolveFile(baseName);
            ret.setBaseFile(baseFile);
            ret.init();
        } catch (final FileSystemException e) {
            throw new EFapsException(VFSStoreResource.class,
                                     "evaluateFileSystemManager.FileSystemException",
                                     e, provider, baseName);
        } catch (final InstantiationException e) {
            throw new EFapsException(VFSStoreResource.class,
                                     "evaluateFileSystemManager.InstantiationException",
                                     e, baseName, provider);
        } catch (final IllegalAccessException e) {
            throw new EFapsException(VFSStoreResource.class,
                                     "evaluateFileSystemManager.IllegalAccessException",
                                     e, provider);
        } catch (final ClassNotFoundException e) {
            throw new EFapsException(VFSStoreResource.class,
                                     "evaluateFileSystemManager.ClassNotFoundException",
                                     e, provider);
        }
        return ret;
    }
private DefaultFileSystemManager evaluateFileSystemManager ( ) throws EFapsException { final DefaultFileSystemManager ret = new DefaultFileSystemManager ( ) ; final String baseName = getProperties ( ) . get ( VFSStoreResource . PROPERTY_BASENAME ) ; final String provider = getProperties ( ) . get ( VFSStoreResource . PROPERTY_PROVIDER ) ; final String filesCacheName ; if ( getProperties ( ) . containsKey ( VFSStoreResource . PROPERTY_FILESCACHE ) ) { filesCacheName = getProperties ( ) . get ( VFSStoreResource . PROPERTY_FILESCACHE ) ; } else { filesCacheName = LRUFilesCache . class . getName ( ) ; } try { final FilesCache filesCache = ( FilesCache ) Class . forName ( filesCacheName ) . newInstance ( ) ; ret . setFilesCache ( filesCache ) ; final FileProvider fileProvider = ( FileProvider ) Class . forName ( provider ) . newInstance ( ) ; ret . addProvider ( baseName , fileProvider ) ; final FileObject baseFile = VFS . getManager ( ) . resolveFile ( baseName ) ; ret . setBaseFile ( baseFile ) ; ret . init ( ) ; } catch ( final FileSystemException e ) { throw new EFapsException ( VFSStoreResource . class , "evaluateFileSystemManager.FileSystemException" , e , provider , baseName ) ; } catch ( final InstantiationException e ) { throw new EFapsException ( VFSStoreResource . class , "evaluateFileSystemManager.InstantiationException" , e , baseName , provider ) ; } catch ( final IllegalAccessException e ) { throw new EFapsException ( VFSStoreResource . class , "evaluateFileSystemManager.IllegalAccessException" , e , provider ) ; } catch ( final ClassNotFoundException e ) { throw new EFapsException ( VFSStoreResource . class , "evaluateFileSystemManager.ClassNotFoundException" , e , provider ) ; } return ret ; }
@return DefaultFileSystemManager
@throws EFapsException on error