org.crsh.vfs.spi.servlet
Class WarMountFactory

java.lang.Object
  extended by org.crsh.vfs.spi.servlet.WarMountFactory
All Implemented Interfaces:
FSMountFactory<String>

public class WarMountFactory
extends Object
implements FSMountFactory<String>

Author:
Julien Viet

Field Summary
private  ServletContext context
          .
 
Constructor Summary
WarMountFactory(ServletContext context)
           
 
Method Summary
 Mount<String> 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
 

Field Detail

context

private final ServletContext context
.

Constructor Detail

WarMountFactory

public WarMountFactory(ServletContext context)
Method Detail

create

public Mount<String> create(Path path)
                     throws IOException
Description copied from interface: FSMountFactory
Resolve a mount for the specified path.

Specified by:
create in interface FSMountFactory<String>
Parameters:
path - the path
Returns:
the created mount object
Throws:
IOException - any io exception


Copyright © 2015 eXo Platform SAS. All Rights Reserved.