本文整理了Java中org.apache.commons.vfs2.VFS.createManager()
方法的一些代码示例,展示了VFS.createManager()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VFS.createManager()
方法的具体详情如下:
包路径:org.apache.commons.vfs2.VFS
类名称:VFS
方法名:createManager
[英]Creates a file system manager instance.
[中]
代码示例来源:origin: com.github.abashev/commons-vfs2
/**
* Returns the default {@link FileSystemManager} instance.
* <p>
* Warning, if you close this instance you may affect all current and future users of this manager singleton.
*
* @return The FileSystemManager.
* @throws FileSystemException if an error occurs creating the manager.
*/
public static synchronized FileSystemManager getManager() throws FileSystemException {
if (instance == null) {
instance = createManager("org.apache.commons.vfs2.impl.StandardFileSystemManager");
}
return instance;
}
代码示例来源:origin: org.apache.commons/commons-vfs2
/**
* Returns the default {@link FileSystemManager} instance.
* <p>
* Warning, if you close this instance you may affect all current and future users of this manager singleton.
*
* @return The FileSystemManager.
* @throws FileSystemException if an error occurs creating the manager.
*/
public static synchronized FileSystemManager getManager() throws FileSystemException {
if (instance == null) {
instance = createManager("org.apache.commons.vfs2.impl.StandardFileSystemManager");
}
return instance;
}
代码示例来源:origin: apache/commons-vfs
/**
* Returns the default {@link FileSystemManager} instance.
* <p>
* Warning, if you close this instance you may affect all current and future users of this manager singleton.
*
* @return The FileSystemManager.
* @throws FileSystemException if an error occurs creating the manager.
*/
public static synchronized FileSystemManager getManager() throws FileSystemException {
if (instance == null) {
instance = createManager("org.apache.commons.vfs2.impl.StandardFileSystemManager");
}
return instance;
}
代码示例来源:origin: org.jetbrains.intellij.deps/commons-vfs2
/**
* Returns the default {@link FileSystemManager} instance.
* <p>
* Warning, if you close this instance you may affect all current
* and future users of this manager singleton.
*
* @return The FileSystemManager.
* @throws FileSystemException if an error occurs creating the manager.
*/
public static synchronized FileSystemManager getManager()
throws FileSystemException
{
if (instance == null)
{
instance = createManager("org.apache.commons.vfs2.impl.StandardFileSystemManager");
}
return instance;
}
内容来源于网络,如有侵权,请联系作者删除!