org.crsh.vfs
Class FS.Builder
java.lang.Object
org.crsh.vfs.FS.Builder
- Enclosing class:
- FS
-
public static class FS.Builder
- extends Object
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
resolvers
private HashMap<String,FSMountFactory<?>> resolvers
-
.
mounts
private ArrayList<Mount<?>> mounts
-
.
FS.Builder
public FS.Builder()
register
public FS.Builder register(String name,
FSMountFactory<?> resolver)
-
Register a resolver.
-
- Parameters:
name
- the registration name
resolver
- the resolver implementation
mount
public FS.Builder mount(String name,
Path path)
throws IOException,
IllegalArgumentException
-
- Throws:
IOException
IllegalArgumentException
mount
public FS.Builder mount(String mountPointConfig)
throws IOException
-
- Throws:
IOException
getMounts
public List<Mount<?>> getMounts()
-
build
public FS build()
throws IOException
-
- Throws:
IOException
toString
public String toString()
-
- Overrides:
toString
in class Object
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.