org.crsh.vfs.spi
Interface FSDriver<H>

All Known Implementing Classes:
AbstractFSDriver, FileDriver, RAMDriver, ServletContextDriver, URLDriver

public interface FSDriver<H>


Method Summary
 H child(H handle, String name)
           
 Iterable<H> children(H handle)
           
 long getLastModified(H handle)
           
 boolean isDir(H handle)
           
 String name(H handle)
           
 InputStream open(H handle)
           
 H root()
          Returns the root handle.
 

Method Detail

root

H root()
       throws IOException
Returns the root handle.

Returns:
the root handle
Throws:
IOException - any io exception

name

String name(H handle)
            throws IOException
Throws:
IOException

isDir

boolean isDir(H handle)
              throws IOException
Throws:
IOException

child

H child(H handle,
        String name)
        throws IOException
Throws:
IOException

children

Iterable<H> children(H handle)
                     throws IOException
Throws:
IOException

getLastModified

long getLastModified(H handle)
                     throws IOException
Throws:
IOException

open

InputStream open(H handle)
                 throws IOException
Throws:
IOException


Copyright © 2014 eXo Platform SAS. All Rights Reserved.