public class FileSystemProviders extends Object
FileSystemProvider.| Modifier and Type | Method and Description |
|---|---|
static FileSystemProvider |
getFileSystemProvider(Path path)
Gets the
FileSystemProvider for the given Path. |
FileSystemProvider |
getFileSystemProvider(String scheme)
Gets the
FileSystemProvider for the given scheme. |
FileSystemProvider |
getFileSystemProvider(URI uri)
Gets the
FileSystemProvider for the given URI. |
FileSystemProvider |
getFileSystemProvider(URL url)
Gets the
FileSystemProvider for the given URL. |
static FileSystemProviders |
installed()
Returns the instance for the installed providers.
|
public static FileSystemProvider getFileSystemProvider(Path path)
FileSystemProvider for the given Path.path - The Path to queryFileSystemProvider for the given Path.public static FileSystemProviders installed()
FileSystemProvider.installedProviders()public FileSystemProvider getFileSystemProvider(String scheme)
FileSystemProvider for the given scheme.scheme - The scheme to query.FileSystemProvider for the given URI or null.public FileSystemProvider getFileSystemProvider(URI uri)
FileSystemProvider for the given URI.uri - The URI to queryFileSystemProvider for the given URI or null.public FileSystemProvider getFileSystemProvider(URL url)
FileSystemProvider for the given URL.url - The URL to queryFileSystemProvider for the given URI or null.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.