org.crsh.vfs.spi.url
Class ClassPathMountFactory
java.lang.Object
org.crsh.vfs.spi.url.ClassPathMountFactory
- All Implemented Interfaces:
- FSMountFactory<Node>
public class ClassPathMountFactory
- extends Object
- implements FSMountFactory<Node>
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loader
private final ClassLoader loader
- .
ClassPathMountFactory
public ClassPathMountFactory(ClassLoader loader)
create
public Mount<Node> create(Path path)
throws IOException
- Description copied from interface:
FSMountFactory
- Resolve a mount for the specified path.
- Specified by:
create
in interface FSMountFactory<Node>
- Parameters:
path
- the path
- Returns:
- the created mount object
- Throws:
IOException
- any io exception
Copyright © 2015 eXo Platform SAS. All Rights Reserved.