org.crsh.vfs.spi.url
Class ClassPathMountFactory

java.lang.Object
  extended by org.crsh.vfs.spi.url.ClassPathMountFactory
All Implemented Interfaces:
FSMountFactory<Node>

public class ClassPathMountFactory
extends Object
implements FSMountFactory<Node>

Author:
Julien Viet

Constructor Summary
ClassPathMountFactory(ClassLoader loader)
           
 
Method Summary
 Mount<Node> create(Path path)
          Resolve a mount for the specified path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathMountFactory

public ClassPathMountFactory(ClassLoader loader)
Method Detail

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.