@PublicEvolving public class LocalFileSystemFactory extends Object implements FileSystemFactory
LocalFileSystem.| Constructor and Description |
|---|
LocalFileSystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration config)
Applies the given configuration to this factory.
|
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.
|
public String getScheme()
FileSystemFactorygetScheme in interface FileSystemFactorypublic void configure(Configuration config)
FileSystemFactoryFileSystemFactory.create(URI) should take the configuration into
account.configure in interface FileSystemFactoryconfig - The configuration to apply.public FileSystem create(URI fsUri)
FileSystemFactorycreate in interface FileSystemFactoryfsUri - The URI that describes the file system.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.