public final class VFS extends Object
FileSystemManager
instances.Modifier and Type | Method and Description |
---|---|
static void |
close()
Closes the default
FileSystemManager instance. |
static FileSystemManager |
getManager()
Returns the default
FileSystemManager instance. |
static boolean |
isUriStyle() |
static FileSystemManager |
reset()
Resets the FileSystemManager to the default.
|
static void |
setManager(FileSystemManager manager)
Sets the file system manager
|
static void |
setUriStyle(boolean uriStyle) |
public static void close()
FileSystemManager
instance.
Warning, if you close the default instance, a new one will be created by getManager()
.
public static FileSystemManager getManager() throws FileSystemException
FileSystemManager
instance.
Warning, if you close this instance you may affect all current and future users of this manager singleton.
FileSystemException
- if an error occurs creating the manager.public static boolean isUriStyle()
public static FileSystemManager reset() throws FileSystemException
FileSystemException
- if an error occurs creating the manager.public static void setManager(FileSystemManager manager)
manager
- the file system managerpublic static void setUriStyle(boolean uriStyle)
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.