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
IllegalArgumentException
FileSystemNotFoundException
ProviderNotFoundException
SecurityException
public static FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
IOException
SecurityException
public static FileSystem newFileSystem(Path path, ClassLoader loader) throws IllegalArgumentException, ProviderNotFoundException, ServiceConfigurationError, IOException, SecurityException
IllegalArgumentException
ProviderNotFoundException
ServiceConfigurationError
IOException
SecurityException
public static FileSystem newFileSystem(URI uri, Map<String,?> env, ClassLoader loader) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, ServiceConfigurationError, IOException, SecurityException
IllegalArgumentException
FileSystemAlreadyExistsException
ProviderNotFoundException
ServiceConfigurationError
IOException
SecurityException
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.