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 Summary
Modifier and TypeMethodDescriptionstatic FileSystemManagerReturns the defaultFileSystemManagerinstance.static booleanstatic voidsetManager(FileSystemManager manager) Sets the file system managerstatic voidsetUriStyle(boolean uriStyle)
-
Method Details
-
getManager
Returns 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.
-
isUriStyle
-
setUriStyle
-
setManager
Sets the file system manager- Parameters:
manager- the file system manager- Since:
- 2.2
-