/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }