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
IOExceptionIllegalArgumentExceptionpublic FS.Builder mount(String mountPointConfig) throws IOException
IOExceptionpublic FS build() throws IOException
IOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.