Interface FileSystemFactory
-
- All Superinterfaces:
Serializable
@Internal public interface FileSystemFactory extends Serializable
A factory to create file systems.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileSystem
create(URI fsUri)
Creates a new file system for the given file system URI.
-
-
-
Method Detail
-
create
FileSystem create(URI fsUri) throws IOException
Creates a new file system for the given file system URI. The URI describes the type of file system (via its scheme) and optionally the authority (for example the host) of the file system.- Parameters:
fsUri
- The URI that describes the file system.- Returns:
- A new instance of the specified file system.
- Throws:
IOException
- Thrown if the file system could not be instantiated.
-
-