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