Package org.apache.commons.vfs2
Class VFS
- java.lang.Object
-
- org.apache.commons.vfs2.VFS
-
public final class VFS extends java.lang.Object
The main entry point for the VFS. Used to createFileSystemManager
instances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSystemManager
getManager()
Returns the defaultFileSystemManager
instance.static boolean
isUriStyle()
static void
setUriStyle(boolean uriStyle)
-
-
-
Method Detail
-
getManager
public static FileSystemManager getManager() throws FileSystemException
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
public static boolean isUriStyle()
-
setUriStyle
public static void setUriStyle(boolean uriStyle)
-
-