org.crsh.vfs
Class FS

java.lang.Object
  extended by org.crsh.vfs.FS

public class FS
extends Object

The file system provides a federated view of FSDriver mounts.


Nested Class Summary
static class FS.Builder
           
 
Constructor Summary
FS()
           
 
Method Summary
 File get(Path path)
           
 FS mount(Class<?> clazz)
           
 FS mount(ClassLoader cl, Path path)
           
 FS mount(File root)
           
 FS mount(FSDriver<?> driver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FS

public FS()
Method Detail

get

public File get(Path path)
         throws IOException
Throws:
IOException

mount

public FS mount(FSDriver<?> driver)
         throws IOException
Throws:
IOException

mount

public FS mount(File root)
         throws IOException
Throws:
IOException

mount

public FS mount(ClassLoader cl,
                Path path)
         throws IOException,
                URISyntaxException
Throws:
IOException
URISyntaxException

mount

public FS mount(Class<?> clazz)
         throws IOException,
                URISyntaxException
Throws:
IOException
URISyntaxException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.