public final class FileSystems extends Object
| Modifier and Type | Method and Description |
|---|---|
static FileSystem |
getDefault() |
static FileSystem |
getFileSystem(URI uri) |
static FileSystem |
newFileSystem(Path path,
ClassLoader loader) |
static FileSystem |
newFileSystem(URI uri,
Map<String,?> env) |
static FileSystem |
newFileSystem(URI uri,
Map<String,?> env,
ClassLoader loader) |
public static FileSystem getDefault()
public static FileSystem getFileSystem(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, ProviderNotFoundException, SecurityException
IllegalArgumentExceptionFileSystemNotFoundExceptionProviderNotFoundExceptionSecurityExceptionpublic static FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException
IllegalArgumentExceptionFileSystemAlreadyExistsExceptionProviderNotFoundExceptionIOExceptionSecurityExceptionpublic static FileSystem newFileSystem(Path path, ClassLoader loader) throws IllegalArgumentException, ProviderNotFoundException, ServiceConfigurationError, IOException, SecurityException
IllegalArgumentExceptionProviderNotFoundExceptionServiceConfigurationErrorIOExceptionSecurityExceptionpublic static FileSystem newFileSystem(URI uri, Map<String,?> env, ClassLoader loader) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, ServiceConfigurationError, IOException, SecurityException
IllegalArgumentExceptionFileSystemAlreadyExistsExceptionProviderNotFoundExceptionServiceConfigurationErrorIOExceptionSecurityExceptionCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.