Package org.apache.commons.vfs2
Class VFS
java.lang.Object
org.apache.commons.vfs2.VFS
The main entry point for the VFS. Used to create 
FileSystemManager instances.- 
Method SummaryModifier and TypeMethodDescriptionstatic voidclose()Closes the defaultFileSystemManagerinstance.static FileSystemManagerGets the defaultFileSystemManagerinstance.static booleanTODO.static FileSystemManagerreset()Resets the FileSystemManager to the default.static voidsetManager(FileSystemManager manager) Sets the file system manager.static voidsetUriStyle(boolean uriStyle) TODO.
- 
Method Details- 
closeCloses the defaultFileSystemManagerinstance.Warning, if you close the default instance, a new one will be created by getManager().- Since:
- 2.8.0
 
- 
getManagerGets the defaultFileSystemManagerinstance.Warning, if you close this instance you may affect all current and future users of this manager singleton. - Returns:
- The FileSystemManager.
- Throws:
- FileSystemException- if an error occurs creating the manager.
 
- 
isUriStyleTODO.- Returns:
- TODO.
 
- 
resetResets the FileSystemManager to the default.- Returns:
- the new FileSystemManager.
- Throws:
- FileSystemException- if an error occurs creating the manager.
- Since:
- 2.5.0
 
- 
setManagerSets the file system manager.- Parameters:
- manager- the file system manager
- Since:
- 2.2
 
- 
setUriStyleTODO.- Parameters:
- uriStyle- TODO.
 
 
-