List of usage examples for org.apache.commons.vfs2 FileSystemOptions FileSystemOptions
public FileSystemOptions()
From source file:tw.edu.sinica.iis.SSHadoop.SSHFSOptions.java
public SSHFSOptions() { opts = new FileSystemOptions(); try {/*ww w.j av a 2s . c o m*/ SftpFileSystemConfigBuilder.getInstance().setStrictHostKeyChecking(opts, "no"); SftpFileSystemConfigBuilder.getInstance().setUserDirIsRoot(opts, true); } catch (FileSystemException e) { e.printStackTrace(); } }