/** Returns the base folder for tests. */ public FileObject getBaseTestFolder(final FileSystemManager manager) throws Exception { final FileObject baseFolder = config.getBaseTestFolder(manager); // Create an empty file system, then link in the base folder final FileSystem newFs = manager.createVirtualFileSystem("vfs:").getFileSystem(); final String junctionPoint = "/some/dir"; newFs.addJunction(junctionPoint, baseFolder); return newFs.resolveFile(junctionPoint); }
public FilesCache getFilesCache() { return config.getFilesCache(); }
/** Prepares the file system manager. */ public void prepare(final DefaultFileSystemManager manager) throws Exception { config.prepare(manager); }
/** Returns a DefaultFileSystemManager instance (or subclass instance). */ public DefaultFileSystemManager getDefaultFileSystemManager() { return config.getDefaultFileSystemManager(); }