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 FileSystemManager
Returns the defaultFileSystemManager
instance.static boolean
static void
setManager
(FileSystemManager manager) Sets the file system managerstatic void
setUriStyle
(boolean uriStyle)
-
Method Details
-
getManager
Returns the defaultFileSystemManager
instance.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
-