@PublicEvolving public interface FileSystemFactory extends Plugin
The factory is typically configured via Plugin.configure(Configuration)
before creating file
systems via create(URI)
.
Modifier and Type | Method and Description |
---|---|
FileSystem |
create(URI fsUri)
Creates a new file system for the given file system URI.
|
String |
getScheme()
Gets the scheme of the file system created by this factory.
|
configure, getClassLoader
String getScheme()
FileSystem create(URI fsUri) throws IOException
fsUri
- The URI that describes the file system.IOException
- Thrown if the file system could not be instantiated.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.