/** * Does a 'pwfs' command. */ private void pwfs() { System.out.println("FileSystem of current folder is " + cwd.getFileSystem() + " (root: " + cwd.getFileSystem().getRootURI() + ")"); }
/** * Tests the contents of root of file system can be listed. */ public void testRoot() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fs = getFileSystem(); final String uri = fs.getRootURI(); final FileObject file = getManager().resolveFile(uri, fs.getFileSystemOptions()); file.getChildren(); }
/** * Tests root of file system exists. */ public void testRootURI() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fileSystem = getFileSystem(); final String uri = fileSystem.getRootURI(); testRoot(getManager().resolveFile(uri, fileSystem.getFileSystemOptions())); }
/** * Tests root of file system exists. */ public void testRootURI() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fileSystem = getFileSystem(); final String uri = fileSystem.getRootURI(); testRoot(getManager().resolveFile(uri, fileSystem.getFileSystemOptions())); }
/** * Tests the contents of root of file system can be listed. */ public void testRoot() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fs = getFileSystem(); final String uri = fs.getRootURI(); final FileObject file = getManager().resolveFile(uri, fs.getFileSystemOptions()); file.getChildren(); }
/** * Tests the contents of root of file system can be listed. */ public void testRoot() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fs = getFileSystem(); final String uri = fs.getRootURI(); final FileObject file = getManager().resolveFile(uri, fs.getFileSystemOptions()); file.getChildren(); }
/** * Tests root of file system exists. */ public void testRootURI() throws FileSystemException { if (!this.getProviderConfig().isFileSystemRootAccessible()) { return; } final FileSystem fileSystem = getFileSystem(); final String uri = fileSystem.getRootURI(); testRoot(getManager().resolveFile(uri, fileSystem.getFileSystemOptions())); }