List of usage examples for org.apache.commons.vfs2.provider.sftp SftpFileSystem getRootURI
@Override
public String getRootURI()
From source file:sf.net.experimaestro.connectors.SSHConnector.java
@Override protected boolean contains(FileSystem fileSystem) throws FileSystemException { if (fileSystem instanceof SftpFileSystem) { SftpFileSystem sftpFS = (SftpFileSystem) fileSystem; // FIXME: not really nice return sftpFS.getRootURI().equals(getFileSystem().getRootURI()); }//from w ww . j a v a 2s . co m return false; }