public static class FS.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private ArrayList<Mount<?>> |
mounts
.
|
private HashMap<String,FSMountFactory<?>> |
resolvers
.
|
Constructor and Description |
---|
FS.Builder() |
Modifier and Type | Method and Description |
---|---|
FS |
build() |
List<Mount<?>> |
getMounts() |
FS.Builder |
mount(String mountPointConfig) |
FS.Builder |
mount(String name,
Path path) |
FS.Builder |
register(String name,
FSMountFactory<?> resolver)
Register a resolver.
|
String |
toString() |
private HashMap<String,FSMountFactory<?>> resolvers
public FS.Builder()
public FS.Builder register(String name, FSMountFactory<?> resolver)
name
- the registration nameresolver
- the resolver implementationpublic FS.Builder mount(String name, Path path) throws IOException, IllegalArgumentException
IOException
IllegalArgumentException
public FS.Builder mount(String mountPointConfig) throws IOException
IOException
public FS build() throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.